#[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 ==
.