Struct aws_sdk_codedeploy::types::builders::AutoScalingGroupBuilder
source · #[non_exhaustive]pub struct AutoScalingGroupBuilder { /* private fields */ }
Expand description
A builder for AutoScalingGroup
.
Implementations§
source§impl AutoScalingGroupBuilder
impl AutoScalingGroupBuilder
sourcepub fn hook(self, input: impl Into<String>) -> Self
pub fn hook(self, input: impl Into<String>) -> Self
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
sourcepub fn set_hook(self, input: Option<String>) -> Self
pub fn set_hook(self, input: Option<String>) -> Self
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
sourcepub fn get_hook(&self) -> &Option<String>
pub fn get_hook(&self) -> &Option<String>
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
sourcepub fn termination_hook(self, input: impl Into<String>) -> Self
pub fn termination_hook(self, input: impl Into<String>) -> Self
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
sourcepub fn set_termination_hook(self, input: Option<String>) -> Self
pub fn set_termination_hook(self, input: Option<String>) -> Self
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
sourcepub fn get_termination_hook(&self) -> &Option<String>
pub fn get_termination_hook(&self) -> &Option<String>
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
sourcepub fn build(self) -> AutoScalingGroup
pub fn build(self) -> AutoScalingGroup
Consumes the builder and constructs a AutoScalingGroup
.
Trait Implementations§
source§impl Clone for AutoScalingGroupBuilder
impl Clone for AutoScalingGroupBuilder
source§fn clone(&self) -> AutoScalingGroupBuilder
fn clone(&self) -> AutoScalingGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoScalingGroupBuilder
impl Debug for AutoScalingGroupBuilder
source§impl Default for AutoScalingGroupBuilder
impl Default for AutoScalingGroupBuilder
source§fn default() -> AutoScalingGroupBuilder
fn default() -> AutoScalingGroupBuilder
source§impl PartialEq for AutoScalingGroupBuilder
impl PartialEq for AutoScalingGroupBuilder
source§fn eq(&self, other: &AutoScalingGroupBuilder) -> bool
fn eq(&self, other: &AutoScalingGroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoScalingGroupBuilder
Auto Trait Implementations§
impl Freeze for AutoScalingGroupBuilder
impl RefUnwindSafe for AutoScalingGroupBuilder
impl Send for AutoScalingGroupBuilder
impl Sync for AutoScalingGroupBuilder
impl Unpin for AutoScalingGroupBuilder
impl UnwindSafe for AutoScalingGroupBuilder
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> 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