pub struct Builder { /* private fields */ }
Expand description
A builder for AutoScalingGroupConfiguration
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn desired_capacity(self, input: i32) -> Self
pub fn desired_capacity(self, input: i32) -> Self
The desired capacity, or number of instances, for the Auto Scaling group.
sourcepub fn set_desired_capacity(self, input: Option<i32>) -> Self
pub fn set_desired_capacity(self, input: Option<i32>) -> Self
The desired capacity, or number of instances, for the Auto Scaling group.
sourcepub fn min_size(self, input: i32) -> Self
pub fn min_size(self, input: i32) -> Self
The minimum size, or minimum number of instances, for the Auto Scaling group.
sourcepub fn set_min_size(self, input: Option<i32>) -> Self
pub fn set_min_size(self, input: Option<i32>) -> Self
The minimum size, or minimum number of instances, for the Auto Scaling group.
sourcepub fn max_size(self, input: i32) -> Self
pub fn max_size(self, input: i32) -> Self
The maximum size, or maximum number of instances, for the Auto Scaling group.
sourcepub fn set_max_size(self, input: Option<i32>) -> Self
pub fn set_max_size(self, input: Option<i32>) -> Self
The maximum size, or maximum number of instances, for the Auto Scaling group.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type for the Auto Scaling group.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type for the Auto Scaling group.
sourcepub fn build(self) -> AutoScalingGroupConfiguration
pub fn build(self) -> AutoScalingGroupConfiguration
Consumes the builder and constructs a AutoScalingGroupConfiguration
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more