Struct aws_sdk_auditmanager::types::builders::ControlBuilder
source · #[non_exhaustive]pub struct ControlBuilder { /* private fields */ }
Expand description
A builder for Control
.
Implementations§
source§impl ControlBuilder
impl ControlBuilder
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 type(self, input: ControlType) -> Self
pub fn type(self, input: ControlType) -> Self
Specifies whether the control is a standard control or a custom control.
sourcepub fn set_type(self, input: Option<ControlType>) -> Self
pub fn set_type(self, input: Option<ControlType>) -> Self
Specifies whether the control is a standard control or a custom control.
sourcepub fn get_type(&self) -> &Option<ControlType>
pub fn get_type(&self) -> &Option<ControlType>
Specifies whether the control is a standard control or a custom control.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the control.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the control.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the control.
sourcepub fn testing_information(self, input: impl Into<String>) -> Self
pub fn testing_information(self, input: impl Into<String>) -> Self
The steps that you should follow to determine if the control has been satisfied.
sourcepub fn set_testing_information(self, input: Option<String>) -> Self
pub fn set_testing_information(self, input: Option<String>) -> Self
The steps that you should follow to determine if the control has been satisfied.
sourcepub fn get_testing_information(&self) -> &Option<String>
pub fn get_testing_information(&self) -> &Option<String>
The steps that you should follow to determine if the control has been satisfied.
sourcepub fn action_plan_title(self, input: impl Into<String>) -> Self
pub fn action_plan_title(self, input: impl Into<String>) -> Self
The title of the action plan for remediating the control.
sourcepub fn set_action_plan_title(self, input: Option<String>) -> Self
pub fn set_action_plan_title(self, input: Option<String>) -> Self
The title of the action plan for remediating the control.
sourcepub fn get_action_plan_title(&self) -> &Option<String>
pub fn get_action_plan_title(&self) -> &Option<String>
The title of the action plan for remediating the control.
sourcepub fn action_plan_instructions(self, input: impl Into<String>) -> Self
pub fn action_plan_instructions(self, input: impl Into<String>) -> Self
The recommended actions to carry out if the control isn't fulfilled.
sourcepub fn set_action_plan_instructions(self, input: Option<String>) -> Self
pub fn set_action_plan_instructions(self, input: Option<String>) -> Self
The recommended actions to carry out if the control isn't fulfilled.
sourcepub fn get_action_plan_instructions(&self) -> &Option<String>
pub fn get_action_plan_instructions(&self) -> &Option<String>
The recommended actions to carry out if the control isn't fulfilled.
sourcepub fn control_sources(self, input: impl Into<String>) -> Self
pub fn control_sources(self, input: impl Into<String>) -> Self
The data source types that determine 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 types that determine where Audit Manager collects evidence from for the control.
sourcepub fn get_control_sources(&self) -> &Option<String>
pub fn get_control_sources(&self) -> &Option<String>
The data source types that determine where Audit Manager collects evidence from for the control.
sourcepub fn control_mapping_sources(self, input: ControlMappingSource) -> Self
pub fn control_mapping_sources(self, input: ControlMappingSource) -> Self
Appends an item to control_mapping_sources
.
To override the contents of this collection use set_control_mapping_sources
.
The data mapping sources for the control.
sourcepub fn set_control_mapping_sources(
self,
input: Option<Vec<ControlMappingSource>>
) -> Self
pub fn set_control_mapping_sources( self, input: Option<Vec<ControlMappingSource>> ) -> Self
The data mapping sources for the control.
sourcepub fn get_control_mapping_sources(&self) -> &Option<Vec<ControlMappingSource>>
pub fn get_control_mapping_sources(&self) -> &Option<Vec<ControlMappingSource>>
The data mapping sources 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 get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
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 get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
The time when the control was most recently updated.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user or role that created the control.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user or role that created the control.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user or role that created the control.
sourcepub fn last_updated_by(self, input: impl Into<String>) -> Self
pub fn last_updated_by(self, input: impl Into<String>) -> Self
The user or role that most recently updated the control.
sourcepub fn set_last_updated_by(self, input: Option<String>) -> Self
pub fn set_last_updated_by(self, input: Option<String>) -> Self
The user or role that most recently updated the control.
sourcepub fn get_last_updated_by(&self) -> &Option<String>
pub fn get_last_updated_by(&self) -> &Option<String>
The user or role that most recently updated the control.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags associated with the control.
The tags associated with the control.
The tags associated with the control.
Trait Implementations§
source§impl Clone for ControlBuilder
impl Clone for ControlBuilder
source§fn clone(&self) -> ControlBuilder
fn clone(&self) -> ControlBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ControlBuilder
impl Debug for ControlBuilder
source§impl Default for ControlBuilder
impl Default for ControlBuilder
source§fn default() -> ControlBuilder
fn default() -> ControlBuilder
source§impl PartialEq for ControlBuilder
impl PartialEq for ControlBuilder
source§fn eq(&self, other: &ControlBuilder) -> bool
fn eq(&self, other: &ControlBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.