#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for StackResourceSummary
Implementations
sourceimpl Builder
impl Builder
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.
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 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 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.)
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 last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
Time the status was updated.
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 resource_status(self, input: ResourceStatus) -> Self
pub fn resource_status(self, input: ResourceStatus) -> Self
Current status of the resource.
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 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 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 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 build(self) -> StackResourceSummary
pub fn build(self) -> StackResourceSummary
Consumes the builder and constructs a StackResourceSummary
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more