Struct aws_sdk_auditmanager::model::control_mapping_source::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ControlMappingSource
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn source_id(self, input: impl Into<String>) -> Self
pub fn source_id(self, input: impl Into<String>) -> Self
The unique identifier for the source.
sourcepub fn set_source_id(self, input: Option<String>) -> Self
pub fn set_source_id(self, input: Option<String>) -> Self
The unique identifier for the source.
sourcepub fn source_name(self, input: impl Into<String>) -> Self
pub fn source_name(self, input: impl Into<String>) -> Self
The name of the 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 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 source.
sourcepub fn set_source_description(self, input: Option<String>) -> Self
pub fn set_source_description(self, input: Option<String>) -> Self
The description of the source.
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. This option 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. This option 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 data source types 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 data source types 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.
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
The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names.
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
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) -> ControlMappingSource
pub fn build(self) -> ControlMappingSource
Consumes the builder and constructs a ControlMappingSource
.