#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateControlMappingSource
Implementations
sourceimpl Builder
impl Builder
sourcepub fn source_name(self, input: impl Into<String>) -> Self
pub fn source_name(self, input: impl Into<String>) -> Self
The name of the control mapping data source.
sourcepub fn set_source_name(self, input: Option<String>) -> Self
pub fn set_source_name(self, input: Option<String>) -> Self
The name of the control mapping data source.
sourcepub fn source_description(self, input: impl Into<String>) -> Self
pub fn source_description(self, input: impl Into<String>) -> Self
The description of the data source that determines where Audit Manager collects evidence from for the control.
sourcepub fn set_source_description(self, input: Option<String>) -> Self
pub fn set_source_description(self, input: Option<String>) -> Self
The description of the data source that determines where Audit Manager collects evidence from for the control.
sourcepub fn source_set_up_option(self, input: SourceSetUpOption) -> Self
pub fn source_set_up_option(self, input: SourceSetUpOption) -> Self
The setup option for the data source, which reflects if the evidence collection is automated or manual.
sourcepub fn set_source_set_up_option(self, input: Option<SourceSetUpOption>) -> Self
pub fn set_source_set_up_option(self, input: Option<SourceSetUpOption>) -> Self
The setup option for the data source, which reflects if the evidence collection is automated or manual.
sourcepub fn source_type(self, input: SourceType) -> Self
pub fn source_type(self, input: SourceType) -> Self
Specifies one of the five types of data sources for evidence collection.
sourcepub fn set_source_type(self, input: Option<SourceType>) -> Self
pub fn set_source_type(self, input: Option<SourceType>) -> Self
Specifies one of the five types of data sources for evidence collection.
sourcepub fn source_keyword(self, input: SourceKeyword) -> Self
pub fn source_keyword(self, input: SourceKeyword) -> Self
The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names.
sourcepub fn set_source_keyword(self, input: Option<SourceKeyword>) -> Self
pub fn set_source_keyword(self, input: Option<SourceKeyword>) -> Self
The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names.
sourcepub fn source_frequency(self, input: SourceFrequency) -> Self
pub fn source_frequency(self, input: SourceFrequency) -> Self
The frequency of evidence collection for the control mapping source.
sourcepub fn set_source_frequency(self, input: Option<SourceFrequency>) -> Self
pub fn set_source_frequency(self, input: Option<SourceFrequency>) -> Self
The frequency of evidence collection for the control mapping source.
sourcepub fn troubleshooting_text(self, input: impl Into<String>) -> Self
pub fn troubleshooting_text(self, input: impl Into<String>) -> Self
The instructions for troubleshooting the control.
sourcepub fn set_troubleshooting_text(self, input: Option<String>) -> Self
pub fn set_troubleshooting_text(self, input: Option<String>) -> Self
The instructions for troubleshooting the control.
sourcepub fn build(self) -> CreateControlMappingSource
pub fn build(self) -> CreateControlMappingSource
Consumes the builder and constructs a CreateControlMappingSource
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more