#[non_exhaustive]pub struct InstanceCountLimitsBuilder { /* private fields */ }
Expand description
A builder for InstanceCountLimits
.
Implementations§
source§impl InstanceCountLimitsBuilder
impl InstanceCountLimitsBuilder
sourcepub fn minimum_instance_count(self, input: i32) -> Self
pub fn minimum_instance_count(self, input: i32) -> Self
Minimum number of Instances that can be instantiated for given InstanceType.
sourcepub fn set_minimum_instance_count(self, input: Option<i32>) -> Self
pub fn set_minimum_instance_count(self, input: Option<i32>) -> Self
Minimum number of Instances that can be instantiated for given InstanceType.
sourcepub fn get_minimum_instance_count(&self) -> &Option<i32>
pub fn get_minimum_instance_count(&self) -> &Option<i32>
Minimum number of Instances that can be instantiated for given InstanceType.
sourcepub fn maximum_instance_count(self, input: i32) -> Self
pub fn maximum_instance_count(self, input: i32) -> Self
Maximum number of Instances that can be instantiated for given InstanceType.
sourcepub fn set_maximum_instance_count(self, input: Option<i32>) -> Self
pub fn set_maximum_instance_count(self, input: Option<i32>) -> Self
Maximum number of Instances that can be instantiated for given InstanceType.
sourcepub fn get_maximum_instance_count(&self) -> &Option<i32>
pub fn get_maximum_instance_count(&self) -> &Option<i32>
Maximum number of Instances that can be instantiated for given InstanceType.
sourcepub fn build(self) -> InstanceCountLimits
pub fn build(self) -> InstanceCountLimits
Consumes the builder and constructs a InstanceCountLimits
.
Trait Implementations§
source§impl Clone for InstanceCountLimitsBuilder
impl Clone for InstanceCountLimitsBuilder
source§fn clone(&self) -> InstanceCountLimitsBuilder
fn clone(&self) -> InstanceCountLimitsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstanceCountLimitsBuilder
impl Debug for InstanceCountLimitsBuilder
source§impl Default for InstanceCountLimitsBuilder
impl Default for InstanceCountLimitsBuilder
source§fn default() -> InstanceCountLimitsBuilder
fn default() -> InstanceCountLimitsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InstanceCountLimitsBuilder
impl PartialEq for InstanceCountLimitsBuilder
source§fn eq(&self, other: &InstanceCountLimitsBuilder) -> bool
fn eq(&self, other: &InstanceCountLimitsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceCountLimitsBuilder
Auto Trait Implementations§
impl Freeze for InstanceCountLimitsBuilder
impl RefUnwindSafe for InstanceCountLimitsBuilder
impl Send for InstanceCountLimitsBuilder
impl Sync for InstanceCountLimitsBuilder
impl Unpin for InstanceCountLimitsBuilder
impl UnwindSafe for InstanceCountLimitsBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.