#[non_exhaustive]pub struct LifecycleExecutionBuilder { /* private fields */ }
Expand description
A builder for LifecycleExecution
.
Implementations§
source§impl LifecycleExecutionBuilder
impl LifecycleExecutionBuilder
sourcepub fn lifecycle_execution_id(self, input: impl Into<String>) -> Self
pub fn lifecycle_execution_id(self, input: impl Into<String>) -> Self
Identifies the lifecycle policy runtime instance.
sourcepub fn set_lifecycle_execution_id(self, input: Option<String>) -> Self
pub fn set_lifecycle_execution_id(self, input: Option<String>) -> Self
Identifies the lifecycle policy runtime instance.
sourcepub fn get_lifecycle_execution_id(&self) -> &Option<String>
pub fn get_lifecycle_execution_id(&self) -> &Option<String>
Identifies the lifecycle policy runtime instance.
sourcepub fn lifecycle_policy_arn(self, input: impl Into<String>) -> Self
pub fn lifecycle_policy_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
sourcepub fn set_lifecycle_policy_arn(self, input: Option<String>) -> Self
pub fn set_lifecycle_policy_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
sourcepub fn get_lifecycle_policy_arn(&self) -> &Option<String>
pub fn get_lifecycle_policy_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
sourcepub fn resources_impacted_summary(
self,
input: LifecycleExecutionResourcesImpactedSummary
) -> Self
pub fn resources_impacted_summary( self, input: LifecycleExecutionResourcesImpactedSummary ) -> Self
Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
sourcepub fn set_resources_impacted_summary(
self,
input: Option<LifecycleExecutionResourcesImpactedSummary>
) -> Self
pub fn set_resources_impacted_summary( self, input: Option<LifecycleExecutionResourcesImpactedSummary> ) -> Self
Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
sourcepub fn get_resources_impacted_summary(
&self
) -> &Option<LifecycleExecutionResourcesImpactedSummary>
pub fn get_resources_impacted_summary( &self ) -> &Option<LifecycleExecutionResourcesImpactedSummary>
Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
sourcepub fn state(self, input: LifecycleExecutionState) -> Self
pub fn state(self, input: LifecycleExecutionState) -> Self
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
sourcepub fn set_state(self, input: Option<LifecycleExecutionState>) -> Self
pub fn set_state(self, input: Option<LifecycleExecutionState>) -> Self
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
sourcepub fn get_state(&self) -> &Option<LifecycleExecutionState>
pub fn get_state(&self) -> &Option<LifecycleExecutionState>
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The timestamp when the lifecycle runtime instance started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The timestamp when the lifecycle runtime instance started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The timestamp when the lifecycle runtime instance started.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The timestamp when the lifecycle runtime instance completed.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The timestamp when the lifecycle runtime instance completed.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The timestamp when the lifecycle runtime instance completed.
sourcepub fn build(self) -> LifecycleExecution
pub fn build(self) -> LifecycleExecution
Consumes the builder and constructs a LifecycleExecution
.
Trait Implementations§
source§impl Clone for LifecycleExecutionBuilder
impl Clone for LifecycleExecutionBuilder
source§fn clone(&self) -> LifecycleExecutionBuilder
fn clone(&self) -> LifecycleExecutionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LifecycleExecutionBuilder
impl Debug for LifecycleExecutionBuilder
source§impl Default for LifecycleExecutionBuilder
impl Default for LifecycleExecutionBuilder
source§fn default() -> LifecycleExecutionBuilder
fn default() -> LifecycleExecutionBuilder
source§impl PartialEq for LifecycleExecutionBuilder
impl PartialEq for LifecycleExecutionBuilder
source§fn eq(&self, other: &LifecycleExecutionBuilder) -> bool
fn eq(&self, other: &LifecycleExecutionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.