#[non_exhaustive]pub struct ControlMetadataBuilder { /* private fields */ }Expand description
A builder for ControlMetadata.
Implementations§
source§impl ControlMetadataBuilder
impl ControlMetadataBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the control.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the control.
sourcepub fn control_sources(self, input: impl Into<String>) -> Self
pub fn control_sources(self, input: impl Into<String>) -> Self
The data source that determines where Audit Manager collects evidence from for the control.
sourcepub fn set_control_sources(self, input: Option<String>) -> Self
pub fn set_control_sources(self, input: Option<String>) -> Self
The data source that determines where Audit Manager collects evidence from for the control.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the control was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the control was created.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
The time when the control was most recently updated.
sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
The time when the control was most recently updated.
sourcepub fn build(self) -> ControlMetadata
pub fn build(self) -> ControlMetadata
Consumes the builder and constructs a ControlMetadata.
Trait Implementations§
source§impl Clone for ControlMetadataBuilder
impl Clone for ControlMetadataBuilder
source§fn clone(&self) -> ControlMetadataBuilder
fn clone(&self) -> ControlMetadataBuilder
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 Debug for ControlMetadataBuilder
impl Debug for ControlMetadataBuilder
source§impl Default for ControlMetadataBuilder
impl Default for ControlMetadataBuilder
source§fn default() -> ControlMetadataBuilder
fn default() -> ControlMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ControlMetadataBuilder> for ControlMetadataBuilder
impl PartialEq<ControlMetadataBuilder> for ControlMetadataBuilder
source§fn eq(&self, other: &ControlMetadataBuilder) -> bool
fn eq(&self, other: &ControlMetadataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.