#[non_exhaustive]pub struct ComplianceExecutionSummaryBuilder { /* private fields */ }Expand description
A builder for ComplianceExecutionSummary.
Implementations§
source§impl ComplianceExecutionSummaryBuilder
impl ComplianceExecutionSummaryBuilder
sourcepub fn execution_time(self, input: DateTime) -> Self
pub fn execution_time(self, input: DateTime) -> Self
The time the execution ran as a datetime object that is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'
sourcepub fn set_execution_time(self, input: Option<DateTime>) -> Self
pub fn set_execution_time(self, input: Option<DateTime>) -> Self
The time the execution ran as a datetime object that is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'
sourcepub fn get_execution_time(&self) -> &Option<DateTime>
pub fn get_execution_time(&self) -> &Option<DateTime>
The time the execution ran as a datetime object that is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'
sourcepub fn execution_id(self, input: impl Into<String>) -> Self
pub fn execution_id(self, input: impl Into<String>) -> Self
An ID created by the system when PutComplianceItems was called. For example, CommandID is a valid execution ID. You can use this ID in subsequent calls.
sourcepub fn set_execution_id(self, input: Option<String>) -> Self
pub fn set_execution_id(self, input: Option<String>) -> Self
An ID created by the system when PutComplianceItems was called. For example, CommandID is a valid execution ID. You can use this ID in subsequent calls.
sourcepub fn get_execution_id(&self) -> &Option<String>
pub fn get_execution_id(&self) -> &Option<String>
An ID created by the system when PutComplianceItems was called. For example, CommandID is a valid execution ID. You can use this ID in subsequent calls.
sourcepub fn execution_type(self, input: impl Into<String>) -> Self
pub fn execution_type(self, input: impl Into<String>) -> Self
The type of execution. For example, Command is a valid execution type.
sourcepub fn set_execution_type(self, input: Option<String>) -> Self
pub fn set_execution_type(self, input: Option<String>) -> Self
The type of execution. For example, Command is a valid execution type.
sourcepub fn get_execution_type(&self) -> &Option<String>
pub fn get_execution_type(&self) -> &Option<String>
The type of execution. For example, Command is a valid execution type.
sourcepub fn build(self) -> Result<ComplianceExecutionSummary, BuildError>
pub fn build(self) -> Result<ComplianceExecutionSummary, BuildError>
Consumes the builder and constructs a ComplianceExecutionSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ComplianceExecutionSummaryBuilder
impl Clone for ComplianceExecutionSummaryBuilder
source§fn clone(&self) -> ComplianceExecutionSummaryBuilder
fn clone(&self) -> ComplianceExecutionSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ComplianceExecutionSummaryBuilder
impl Default for ComplianceExecutionSummaryBuilder
source§fn default() -> ComplianceExecutionSummaryBuilder
fn default() -> ComplianceExecutionSummaryBuilder
source§impl PartialEq for ComplianceExecutionSummaryBuilder
impl PartialEq for ComplianceExecutionSummaryBuilder
source§fn eq(&self, other: &ComplianceExecutionSummaryBuilder) -> bool
fn eq(&self, other: &ComplianceExecutionSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComplianceExecutionSummaryBuilder
Auto Trait Implementations§
impl Freeze for ComplianceExecutionSummaryBuilder
impl RefUnwindSafe for ComplianceExecutionSummaryBuilder
impl Send for ComplianceExecutionSummaryBuilder
impl Sync for ComplianceExecutionSummaryBuilder
impl Unpin for ComplianceExecutionSummaryBuilder
impl UnwindSafe for ComplianceExecutionSummaryBuilder
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