#[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 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 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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for RemediationExecutionStatusBuilder
impl Default for RemediationExecutionStatusBuilder
source§fn default() -> RemediationExecutionStatusBuilder
fn default() -> RemediationExecutionStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RemediationExecutionStatusBuilder> for RemediationExecutionStatusBuilder
impl PartialEq<RemediationExecutionStatusBuilder> for RemediationExecutionStatusBuilder
source§fn eq(&self, other: &RemediationExecutionStatusBuilder) -> bool
fn eq(&self, other: &RemediationExecutionStatusBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RemediationExecutionStatusBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RemediationExecutionStatusBuilder
impl Send for RemediationExecutionStatusBuilder
impl Sync for RemediationExecutionStatusBuilder
impl Unpin for RemediationExecutionStatusBuilder
impl UnwindSafe for RemediationExecutionStatusBuilder
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
Mutably borrows from an owned value. Read more