#[non_exhaustive]pub struct RemediationExecutionStatusBuilder { /* private fields */ }Expand description
A builder for RemediationExecutionStatus.
Implementations§
source§impl RemediationExecutionStatusBuilder
impl RemediationExecutionStatusBuilder
sourcepub fn resource_key(self, input: ResourceKey) -> Self
pub fn resource_key(self, input: ResourceKey) -> Self
The details that identify a resource within Config, including the resource type and resource ID.
sourcepub fn set_resource_key(self, input: Option<ResourceKey>) -> Self
pub fn set_resource_key(self, input: Option<ResourceKey>) -> Self
The details that identify a resource within Config, including the resource type and resource ID.
sourcepub fn get_resource_key(&self) -> &Option<ResourceKey>
pub fn get_resource_key(&self) -> &Option<ResourceKey>
The details that identify a resource within Config, including the resource type and resource ID.
sourcepub fn state(self, input: RemediationExecutionState) -> Self
pub fn state(self, input: RemediationExecutionState) -> Self
ENUM of the values.
sourcepub fn set_state(self, input: Option<RemediationExecutionState>) -> Self
pub fn set_state(self, input: Option<RemediationExecutionState>) -> Self
ENUM of the values.
sourcepub fn get_state(&self) -> &Option<RemediationExecutionState>
pub fn get_state(&self) -> &Option<RemediationExecutionState>
ENUM of the values.
sourcepub fn step_details(self, input: RemediationExecutionStep) -> Self
pub fn step_details(self, input: RemediationExecutionStep) -> Self
Appends an item to step_details.
To override the contents of this collection use set_step_details.
Details of every step.
sourcepub fn set_step_details(
self,
input: Option<Vec<RemediationExecutionStep>>
) -> Self
pub fn set_step_details( self, input: Option<Vec<RemediationExecutionStep>> ) -> Self
Details of every step.
sourcepub fn get_step_details(&self) -> &Option<Vec<RemediationExecutionStep>>
pub fn get_step_details(&self) -> &Option<Vec<RemediationExecutionStep>>
Details of every step.
sourcepub fn invocation_time(self, input: DateTime) -> Self
pub fn invocation_time(self, input: DateTime) -> Self
Start time when the remediation was executed.
sourcepub fn set_invocation_time(self, input: Option<DateTime>) -> Self
pub fn set_invocation_time(self, input: Option<DateTime>) -> Self
Start time when the remediation was executed.
sourcepub fn get_invocation_time(&self) -> &Option<DateTime>
pub fn get_invocation_time(&self) -> &Option<DateTime>
Start time when the remediation was executed.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The time when the remediation execution was last updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The time when the remediation execution was last updated.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The time when the remediation execution was last updated.
sourcepub fn build(self) -> RemediationExecutionStatus
pub fn build(self) -> RemediationExecutionStatus
Consumes the builder and constructs a RemediationExecutionStatus.
Trait Implementations§
source§impl Clone for RemediationExecutionStatusBuilder
impl Clone for RemediationExecutionStatusBuilder
source§fn clone(&self) -> RemediationExecutionStatusBuilder
fn clone(&self) -> RemediationExecutionStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RemediationExecutionStatusBuilder
impl Default for RemediationExecutionStatusBuilder
source§fn default() -> RemediationExecutionStatusBuilder
fn default() -> RemediationExecutionStatusBuilder
source§impl PartialEq for RemediationExecutionStatusBuilder
impl PartialEq for RemediationExecutionStatusBuilder
source§fn eq(&self, other: &RemediationExecutionStatusBuilder) -> bool
fn eq(&self, other: &RemediationExecutionStatusBuilder) -> bool
self and other values to be equal, and is used
by ==.