#[non_exhaustive]pub struct AutoScalingConfigurationSummaryBuilder { /* private fields */ }
Expand description
A builder for AutoScalingConfigurationSummary
.
Implementations§
source§impl AutoScalingConfigurationSummaryBuilder
impl AutoScalingConfigurationSummaryBuilder
sourcepub fn auto_scaling_configuration_arn(self, input: impl Into<String>) -> Self
pub fn auto_scaling_configuration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of this auto scaling configuration.
sourcepub fn set_auto_scaling_configuration_arn(self, input: Option<String>) -> Self
pub fn set_auto_scaling_configuration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of this auto scaling configuration.
sourcepub fn get_auto_scaling_configuration_arn(&self) -> &Option<String>
pub fn get_auto_scaling_configuration_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of this auto scaling configuration.
sourcepub fn auto_scaling_configuration_name(self, input: impl Into<String>) -> Self
pub fn auto_scaling_configuration_name(self, input: impl Into<String>) -> Self
The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
sourcepub fn set_auto_scaling_configuration_name(self, input: Option<String>) -> Self
pub fn set_auto_scaling_configuration_name(self, input: Option<String>) -> Self
The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
sourcepub fn get_auto_scaling_configuration_name(&self) -> &Option<String>
pub fn get_auto_scaling_configuration_name(&self) -> &Option<String>
The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
sourcepub fn auto_scaling_configuration_revision(self, input: i32) -> Self
pub fn auto_scaling_configuration_revision(self, input: i32) -> Self
The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE"
) with the same AutoScalingConfigurationName
.
sourcepub fn set_auto_scaling_configuration_revision(self, input: Option<i32>) -> Self
pub fn set_auto_scaling_configuration_revision(self, input: Option<i32>) -> Self
The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE"
) with the same AutoScalingConfigurationName
.
sourcepub fn get_auto_scaling_configuration_revision(&self) -> &Option<i32>
pub fn get_auto_scaling_configuration_revision(&self) -> &Option<i32>
The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE"
) with the same AutoScalingConfigurationName
.
sourcepub fn status(self, input: AutoScalingConfigurationStatus) -> Self
pub fn status(self, input: AutoScalingConfigurationStatus) -> Self
The current state of the auto scaling configuration. If the status of a configuration revision is INACTIVE
, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
sourcepub fn set_status(self, input: Option<AutoScalingConfigurationStatus>) -> Self
pub fn set_status(self, input: Option<AutoScalingConfigurationStatus>) -> Self
The current state of the auto scaling configuration. If the status of a configuration revision is INACTIVE
, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
sourcepub fn get_status(&self) -> &Option<AutoScalingConfigurationStatus>
pub fn get_status(&self) -> &Option<AutoScalingConfigurationStatus>
The current state of the auto scaling configuration. If the status of a configuration revision is INACTIVE
, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the auto scaling configuration was created. It's in Unix time stamp format.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the auto scaling configuration was created. It's in Unix time stamp format.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time when the auto scaling configuration was created. It's in Unix time stamp format.
sourcepub fn has_associated_service(self, input: bool) -> Self
pub fn has_associated_service(self, input: bool) -> Self
Indicates if this auto scaling configuration has an App Runner service associated with it. A value of true
indicates one or more services are associated. A value of false
indicates no services are associated.
sourcepub fn set_has_associated_service(self, input: Option<bool>) -> Self
pub fn set_has_associated_service(self, input: Option<bool>) -> Self
Indicates if this auto scaling configuration has an App Runner service associated with it. A value of true
indicates one or more services are associated. A value of false
indicates no services are associated.
sourcepub fn get_has_associated_service(&self) -> &Option<bool>
pub fn get_has_associated_service(&self) -> &Option<bool>
Indicates if this auto scaling configuration has an App Runner service associated with it. A value of true
indicates one or more services are associated. A value of false
indicates no services are associated.
sourcepub fn is_default(self, input: bool) -> Self
pub fn is_default(self, input: bool) -> Self
Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default AutoScalingConfiguration
per region. The default AutoScalingConfiguration
can be any revision under the same AutoScalingConfigurationName
.
sourcepub fn set_is_default(self, input: Option<bool>) -> Self
pub fn set_is_default(self, input: Option<bool>) -> Self
Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default AutoScalingConfiguration
per region. The default AutoScalingConfiguration
can be any revision under the same AutoScalingConfigurationName
.
sourcepub fn get_is_default(&self) -> &Option<bool>
pub fn get_is_default(&self) -> &Option<bool>
Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default AutoScalingConfiguration
per region. The default AutoScalingConfiguration
can be any revision under the same AutoScalingConfigurationName
.
sourcepub fn build(self) -> AutoScalingConfigurationSummary
pub fn build(self) -> AutoScalingConfigurationSummary
Consumes the builder and constructs a AutoScalingConfigurationSummary
.
Trait Implementations§
source§impl Clone for AutoScalingConfigurationSummaryBuilder
impl Clone for AutoScalingConfigurationSummaryBuilder
source§fn clone(&self) -> AutoScalingConfigurationSummaryBuilder
fn clone(&self) -> AutoScalingConfigurationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AutoScalingConfigurationSummaryBuilder
impl Default for AutoScalingConfigurationSummaryBuilder
source§fn default() -> AutoScalingConfigurationSummaryBuilder
fn default() -> AutoScalingConfigurationSummaryBuilder
source§impl PartialEq for AutoScalingConfigurationSummaryBuilder
impl PartialEq for AutoScalingConfigurationSummaryBuilder
source§fn eq(&self, other: &AutoScalingConfigurationSummaryBuilder) -> bool
fn eq(&self, other: &AutoScalingConfigurationSummaryBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AutoScalingConfigurationSummaryBuilder
Auto Trait Implementations§
impl Freeze for AutoScalingConfigurationSummaryBuilder
impl RefUnwindSafe for AutoScalingConfigurationSummaryBuilder
impl Send for AutoScalingConfigurationSummaryBuilder
impl Sync for AutoScalingConfigurationSummaryBuilder
impl Unpin for AutoScalingConfigurationSummaryBuilder
impl UnwindSafe for AutoScalingConfigurationSummaryBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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