#[non_exhaustive]pub struct ResourceCountsSummaryBuilder { /* private fields */ }
Expand description
A builder for ResourceCountsSummary
.
Implementations§
source§impl ResourceCountsSummaryBuilder
impl ResourceCountsSummaryBuilder
sourcepub fn total(self, input: i32) -> Self
pub fn total(self, input: i32) -> Self
The total number of resources of this type in the Amazon Web Services account.
This field is required.sourcepub fn set_total(self, input: Option<i32>) -> Self
pub fn set_total(self, input: Option<i32>) -> Self
The total number of resources of this type in the Amazon Web Services account.
sourcepub fn get_total(&self) -> &Option<i32>
pub fn get_total(&self) -> &Option<i32>
The total number of resources of this type in the Amazon Web Services account.
sourcepub fn failed(self, input: i32) -> Self
pub fn failed(self, input: i32) -> Self
The number of resources of this type in the Amazon Web Services account that failed to deploy.
sourcepub fn set_failed(self, input: Option<i32>) -> Self
pub fn set_failed(self, input: Option<i32>) -> Self
The number of resources of this type in the Amazon Web Services account that failed to deploy.
sourcepub fn get_failed(&self) -> &Option<i32>
pub fn get_failed(&self) -> &Option<i32>
The number of resources of this type in the Amazon Web Services account that failed to deploy.
sourcepub fn up_to_date(self, input: i32) -> Self
pub fn up_to_date(self, input: i32) -> Self
The number of resources of this type in the Amazon Web Services account that are up-to-date with their template.
sourcepub fn set_up_to_date(self, input: Option<i32>) -> Self
pub fn set_up_to_date(self, input: Option<i32>) -> Self
The number of resources of this type in the Amazon Web Services account that are up-to-date with their template.
sourcepub fn get_up_to_date(&self) -> &Option<i32>
pub fn get_up_to_date(&self) -> &Option<i32>
The number of resources of this type in the Amazon Web Services account that are up-to-date with their template.
sourcepub fn behind_major(self, input: i32) -> Self
pub fn behind_major(self, input: i32) -> Self
The number of resources of this type in the Amazon Web Services account that need a major template version update.
sourcepub fn set_behind_major(self, input: Option<i32>) -> Self
pub fn set_behind_major(self, input: Option<i32>) -> Self
The number of resources of this type in the Amazon Web Services account that need a major template version update.
sourcepub fn get_behind_major(&self) -> &Option<i32>
pub fn get_behind_major(&self) -> &Option<i32>
The number of resources of this type in the Amazon Web Services account that need a major template version update.
sourcepub fn behind_minor(self, input: i32) -> Self
pub fn behind_minor(self, input: i32) -> Self
The number of resources of this type in the Amazon Web Services account that need a minor template version update.
sourcepub fn set_behind_minor(self, input: Option<i32>) -> Self
pub fn set_behind_minor(self, input: Option<i32>) -> Self
The number of resources of this type in the Amazon Web Services account that need a minor template version update.
sourcepub fn get_behind_minor(&self) -> &Option<i32>
pub fn get_behind_minor(&self) -> &Option<i32>
The number of resources of this type in the Amazon Web Services account that need a minor template version update.
sourcepub fn build(self) -> Result<ResourceCountsSummary, BuildError>
pub fn build(self) -> Result<ResourceCountsSummary, BuildError>
Consumes the builder and constructs a ResourceCountsSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ResourceCountsSummaryBuilder
impl Clone for ResourceCountsSummaryBuilder
source§fn clone(&self) -> ResourceCountsSummaryBuilder
fn clone(&self) -> ResourceCountsSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceCountsSummaryBuilder
impl Debug for ResourceCountsSummaryBuilder
source§impl Default for ResourceCountsSummaryBuilder
impl Default for ResourceCountsSummaryBuilder
source§fn default() -> ResourceCountsSummaryBuilder
fn default() -> ResourceCountsSummaryBuilder
source§impl PartialEq for ResourceCountsSummaryBuilder
impl PartialEq for ResourceCountsSummaryBuilder
source§fn eq(&self, other: &ResourceCountsSummaryBuilder) -> bool
fn eq(&self, other: &ResourceCountsSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceCountsSummaryBuilder
Auto Trait Implementations§
impl Freeze for ResourceCountsSummaryBuilder
impl RefUnwindSafe for ResourceCountsSummaryBuilder
impl Send for ResourceCountsSummaryBuilder
impl Sync for ResourceCountsSummaryBuilder
impl Unpin for ResourceCountsSummaryBuilder
impl UnwindSafe for ResourceCountsSummaryBuilder
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> 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