#[non_exhaustive]pub struct CreateControlInputBuilder { /* private fields */ }
Expand description
A builder for CreateControlInput
.
Implementations§
source§impl CreateControlInputBuilder
impl CreateControlInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the control.
This field is required.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 to follow to determine if the control is satisfied.
sourcepub fn set_testing_information(self, input: Option<String>) -> Self
pub fn set_testing_information(self, input: Option<String>) -> Self
The steps to follow to determine if the control is satisfied.
sourcepub fn get_testing_information(&self) -> &Option<String>
pub fn get_testing_information(&self) -> &Option<String>
The steps to follow to determine if the control is 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_mapping_sources(self, input: CreateControlMappingSource) -> Self
pub fn control_mapping_sources(self, input: CreateControlMappingSource) -> 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<CreateControlMappingSource>>
) -> Self
pub fn set_control_mapping_sources( self, input: Option<Vec<CreateControlMappingSource>> ) -> Self
The data mapping sources for the control.
sourcepub fn get_control_mapping_sources(
&self
) -> &Option<Vec<CreateControlMappingSource>>
pub fn get_control_mapping_sources( &self ) -> &Option<Vec<CreateControlMappingSource>>
The data mapping sources for the control.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags that are associated with the control.
The tags that are associated with the control.
The tags that are associated with the control.
sourcepub fn build(self) -> Result<CreateControlInput, BuildError>
pub fn build(self) -> Result<CreateControlInput, BuildError>
Consumes the builder and constructs a CreateControlInput
.
source§impl CreateControlInputBuilder
impl CreateControlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateControlOutput, SdkError<CreateControlError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateControlOutput, SdkError<CreateControlError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateControlInputBuilder
impl Clone for CreateControlInputBuilder
source§fn clone(&self) -> CreateControlInputBuilder
fn clone(&self) -> CreateControlInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateControlInputBuilder
impl Debug for CreateControlInputBuilder
source§impl Default for CreateControlInputBuilder
impl Default for CreateControlInputBuilder
source§fn default() -> CreateControlInputBuilder
fn default() -> CreateControlInputBuilder
source§impl PartialEq for CreateControlInputBuilder
impl PartialEq for CreateControlInputBuilder
source§fn eq(&self, other: &CreateControlInputBuilder) -> bool
fn eq(&self, other: &CreateControlInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.