#[non_exhaustive]pub struct StackResourceSummaryBuilder { /* private fields */ }
Expand description
A builder for StackResourceSummary
.
Implementations§
source§impl StackResourceSummaryBuilder
impl StackResourceSummaryBuilder
sourcepub fn logical_resource_id(self, input: impl Into<String>) -> Self
pub fn logical_resource_id(self, input: impl Into<String>) -> Self
The logical name of the resource specified in the template.
This field is required.sourcepub fn set_logical_resource_id(self, input: Option<String>) -> Self
pub fn set_logical_resource_id(self, input: Option<String>) -> Self
The logical name of the resource specified in the template.
sourcepub fn get_logical_resource_id(&self) -> &Option<String>
pub fn get_logical_resource_id(&self) -> &Option<String>
The logical name of the resource specified in the template.
sourcepub fn physical_resource_id(self, input: impl Into<String>) -> Self
pub fn physical_resource_id(self, input: impl Into<String>) -> Self
The name or unique identifier that corresponds to a physical instance ID of the resource.
sourcepub fn set_physical_resource_id(self, input: Option<String>) -> Self
pub fn set_physical_resource_id(self, input: Option<String>) -> Self
The name or unique identifier that corresponds to a physical instance ID of the resource.
sourcepub fn get_physical_resource_id(&self) -> &Option<String>
pub fn get_physical_resource_id(&self) -> &Option<String>
The name or unique identifier that corresponds to a physical instance ID of the resource.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
This field is required.sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
Time the status was updated.
This field is required.sourcepub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
Time the status was updated.
sourcepub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
Time the status was updated.
sourcepub fn resource_status(self, input: ResourceStatus) -> Self
pub fn resource_status(self, input: ResourceStatus) -> Self
Current status of the resource.
This field is required.sourcepub fn set_resource_status(self, input: Option<ResourceStatus>) -> Self
pub fn set_resource_status(self, input: Option<ResourceStatus>) -> Self
Current status of the resource.
sourcepub fn get_resource_status(&self) -> &Option<ResourceStatus>
pub fn get_resource_status(&self) -> &Option<ResourceStatus>
Current status of the resource.
sourcepub fn resource_status_reason(self, input: impl Into<String>) -> Self
pub fn resource_status_reason(self, input: impl Into<String>) -> Self
Success/failure message associated with the resource.
sourcepub fn set_resource_status_reason(self, input: Option<String>) -> Self
pub fn set_resource_status_reason(self, input: Option<String>) -> Self
Success/failure message associated with the resource.
sourcepub fn get_resource_status_reason(&self) -> &Option<String>
pub fn get_resource_status_reason(&self) -> &Option<String>
Success/failure message associated with the resource.
sourcepub fn drift_information(
self,
input: StackResourceDriftInformationSummary
) -> Self
pub fn drift_information( self, input: StackResourceDriftInformationSummary ) -> Self
Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
sourcepub fn set_drift_information(
self,
input: Option<StackResourceDriftInformationSummary>
) -> Self
pub fn set_drift_information( self, input: Option<StackResourceDriftInformationSummary> ) -> Self
Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
sourcepub fn get_drift_information(
&self
) -> &Option<StackResourceDriftInformationSummary>
pub fn get_drift_information( &self ) -> &Option<StackResourceDriftInformationSummary>
Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
sourcepub fn module_info(self, input: ModuleInfo) -> Self
pub fn module_info(self, input: ModuleInfo) -> Self
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
sourcepub fn set_module_info(self, input: Option<ModuleInfo>) -> Self
pub fn set_module_info(self, input: Option<ModuleInfo>) -> Self
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
sourcepub fn get_module_info(&self) -> &Option<ModuleInfo>
pub fn get_module_info(&self) -> &Option<ModuleInfo>
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
sourcepub fn build(self) -> StackResourceSummary
pub fn build(self) -> StackResourceSummary
Consumes the builder and constructs a StackResourceSummary
.
Trait Implementations§
source§impl Clone for StackResourceSummaryBuilder
impl Clone for StackResourceSummaryBuilder
source§fn clone(&self) -> StackResourceSummaryBuilder
fn clone(&self) -> StackResourceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StackResourceSummaryBuilder
impl Debug for StackResourceSummaryBuilder
source§impl Default for StackResourceSummaryBuilder
impl Default for StackResourceSummaryBuilder
source§fn default() -> StackResourceSummaryBuilder
fn default() -> StackResourceSummaryBuilder
source§impl PartialEq for StackResourceSummaryBuilder
impl PartialEq for StackResourceSummaryBuilder
source§fn eq(&self, other: &StackResourceSummaryBuilder) -> bool
fn eq(&self, other: &StackResourceSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackResourceSummaryBuilder
Auto Trait Implementations§
impl Freeze for StackResourceSummaryBuilder
impl RefUnwindSafe for StackResourceSummaryBuilder
impl Send for StackResourceSummaryBuilder
impl Sync for StackResourceSummaryBuilder
impl Unpin for StackResourceSummaryBuilder
impl UnwindSafe for StackResourceSummaryBuilder
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