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 ==
.