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 ==
.impl StructuralPartialEq for TargetGroupInfoBuilder
Auto Trait Implementations§
impl Freeze for TargetGroupInfoBuilder
impl RefUnwindSafe for TargetGroupInfoBuilder
impl Send for TargetGroupInfoBuilder
impl Sync for TargetGroupInfoBuilder
impl Unpin for TargetGroupInfoBuilder
impl UnwindSafe for TargetGroupInfoBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more