#[non_exhaustive]pub struct AutoScalingGroupConfigurationBuilder { /* private fields */ }
Expand description
A builder for AutoScalingGroupConfiguration
.
Implementations§
source§impl AutoScalingGroupConfigurationBuilder
impl AutoScalingGroupConfigurationBuilder
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 get_desired_capacity(&self) -> &Option<i32>
pub fn get_desired_capacity(&self) -> &Option<i32>
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 get_min_size(&self) -> &Option<i32>
pub fn get_min_size(&self) -> &Option<i32>
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 get_max_size(&self) -> &Option<i32>
pub fn get_max_size(&self) -> &Option<i32>
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 get_instance_type(&self) -> &Option<String>
pub fn get_instance_type(&self) -> &Option<String>
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§
source§impl Clone for AutoScalingGroupConfigurationBuilder
impl Clone for AutoScalingGroupConfigurationBuilder
source§fn clone(&self) -> AutoScalingGroupConfigurationBuilder
fn clone(&self) -> AutoScalingGroupConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AutoScalingGroupConfigurationBuilder
impl Default for AutoScalingGroupConfigurationBuilder
source§fn default() -> AutoScalingGroupConfigurationBuilder
fn default() -> AutoScalingGroupConfigurationBuilder
source§impl PartialEq for AutoScalingGroupConfigurationBuilder
impl PartialEq for AutoScalingGroupConfigurationBuilder
source§fn eq(&self, other: &AutoScalingGroupConfigurationBuilder) -> bool
fn eq(&self, other: &AutoScalingGroupConfigurationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AutoScalingGroupConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AutoScalingGroupConfigurationBuilder
impl RefUnwindSafe for AutoScalingGroupConfigurationBuilder
impl Send for AutoScalingGroupConfigurationBuilder
impl Sync for AutoScalingGroupConfigurationBuilder
impl Unpin for AutoScalingGroupConfigurationBuilder
impl UnwindSafe for AutoScalingGroupConfigurationBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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