#[non_exhaustive]pub struct CreateControlMappingSourceBuilder { /* private fields */ }
Expand description
A builder for CreateControlMappingSource
.
Implementations§
source§impl CreateControlMappingSourceBuilder
impl CreateControlMappingSourceBuilder
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 get_source_name(&self) -> &Option<String>
pub fn get_source_name(&self) -> &Option<String>
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 get_source_description(&self) -> &Option<String>
pub fn get_source_description(&self) -> &Option<String>
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 get_source_set_up_option(&self) -> &Option<SourceSetUpOption>
pub fn get_source_set_up_option(&self) -> &Option<SourceSetUpOption>
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 get_source_type(&self) -> &Option<SourceType>
pub fn get_source_type(&self) -> &Option<SourceType>
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
A keyword that relates to the control data source.
For manual evidence, this keyword indicates if the manual evidence is a file or text.
For automated evidence, this keyword identifies a specific CloudTrail event, Config rule, Security Hub control, or Amazon Web Services API name.
To learn more about the supported keywords that you can use when mapping a control data source, see the following pages in the Audit Manager User Guide:
sourcepub fn set_source_keyword(self, input: Option<SourceKeyword>) -> Self
pub fn set_source_keyword(self, input: Option<SourceKeyword>) -> Self
A keyword that relates to the control data source.
For manual evidence, this keyword indicates if the manual evidence is a file or text.
For automated evidence, this keyword identifies a specific CloudTrail event, Config rule, Security Hub control, or Amazon Web Services API name.
To learn more about the supported keywords that you can use when mapping a control data source, see the following pages in the Audit Manager User Guide:
sourcepub fn get_source_keyword(&self) -> &Option<SourceKeyword>
pub fn get_source_keyword(&self) -> &Option<SourceKeyword>
A keyword that relates to the control data source.
For manual evidence, this keyword indicates if the manual evidence is a file or text.
For automated evidence, this keyword identifies a specific CloudTrail event, Config rule, Security Hub control, or Amazon Web Services API name.
To learn more about the supported keywords that you can use when mapping a control data source, see the following pages in the Audit Manager User Guide:
sourcepub fn source_frequency(self, input: SourceFrequency) -> Self
pub fn source_frequency(self, input: SourceFrequency) -> Self
Specifies how often evidence is collected from the control mapping source.
sourcepub fn set_source_frequency(self, input: Option<SourceFrequency>) -> Self
pub fn set_source_frequency(self, input: Option<SourceFrequency>) -> Self
Specifies how often evidence is collected from the control mapping source.
sourcepub fn get_source_frequency(&self) -> &Option<SourceFrequency>
pub fn get_source_frequency(&self) -> &Option<SourceFrequency>
Specifies how often evidence is collected from 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 get_troubleshooting_text(&self) -> &Option<String>
pub fn get_troubleshooting_text(&self) -> &Option<String>
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§
source§impl Clone for CreateControlMappingSourceBuilder
impl Clone for CreateControlMappingSourceBuilder
source§fn clone(&self) -> CreateControlMappingSourceBuilder
fn clone(&self) -> CreateControlMappingSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateControlMappingSourceBuilder
impl Default for CreateControlMappingSourceBuilder
source§fn default() -> CreateControlMappingSourceBuilder
fn default() -> CreateControlMappingSourceBuilder
source§impl PartialEq for CreateControlMappingSourceBuilder
impl PartialEq for CreateControlMappingSourceBuilder
source§fn eq(&self, other: &CreateControlMappingSourceBuilder) -> bool
fn eq(&self, other: &CreateControlMappingSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.