Struct aws_sdk_codedeploy::types::builders::TargetGroupInfoBuilder
source · #[non_exhaustive]pub struct TargetGroupInfoBuilder { /* private fields */ }
Expand description
A builder for TargetGroupInfo
.
Implementations§
source§impl TargetGroupInfoBuilder
impl TargetGroupInfoBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.
sourcepub fn build(self) -> TargetGroupInfo
pub fn build(self) -> TargetGroupInfo
Consumes the builder and constructs a TargetGroupInfo
.
Trait Implementations§
source§impl Clone for TargetGroupInfoBuilder
impl Clone for TargetGroupInfoBuilder
source§fn clone(&self) -> TargetGroupInfoBuilder
fn clone(&self) -> TargetGroupInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetGroupInfoBuilder
impl Debug for TargetGroupInfoBuilder
source§impl Default for TargetGroupInfoBuilder
impl Default for TargetGroupInfoBuilder
source§fn default() -> TargetGroupInfoBuilder
fn default() -> TargetGroupInfoBuilder
source§impl PartialEq for TargetGroupInfoBuilder
impl PartialEq for TargetGroupInfoBuilder
source§fn eq(&self, other: &TargetGroupInfoBuilder) -> bool
fn eq(&self, other: &TargetGroupInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.