Struct aws_sdk_auditmanager::operation::create_assessment_framework::builders::CreateAssessmentFrameworkInputBuilder
source · #[non_exhaustive]pub struct CreateAssessmentFrameworkInputBuilder { /* private fields */ }
Expand description
A builder for CreateAssessmentFrameworkInput
.
Implementations§
source§impl CreateAssessmentFrameworkInputBuilder
impl CreateAssessmentFrameworkInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the new custom framework.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional description for the new custom framework.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional description for the new custom framework.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
An optional description for the new custom framework.
sourcepub fn compliance_type(self, input: impl Into<String>) -> Self
pub fn compliance_type(self, input: impl Into<String>) -> Self
The compliance type that the new custom framework supports, such as CIS or HIPAA.
sourcepub fn set_compliance_type(self, input: Option<String>) -> Self
pub fn set_compliance_type(self, input: Option<String>) -> Self
The compliance type that the new custom framework supports, such as CIS or HIPAA.
sourcepub fn get_compliance_type(&self) -> &Option<String>
pub fn get_compliance_type(&self) -> &Option<String>
The compliance type that the new custom framework supports, such as CIS or HIPAA.
sourcepub fn control_sets(self, input: CreateAssessmentFrameworkControlSet) -> Self
pub fn control_sets(self, input: CreateAssessmentFrameworkControlSet) -> Self
Appends an item to control_sets
.
To override the contents of this collection use set_control_sets
.
The control sets that are associated with the framework.
sourcepub fn set_control_sets(
self,
input: Option<Vec<CreateAssessmentFrameworkControlSet>>
) -> Self
pub fn set_control_sets( self, input: Option<Vec<CreateAssessmentFrameworkControlSet>> ) -> Self
The control sets that are associated with the framework.
sourcepub fn get_control_sets(
&self
) -> &Option<Vec<CreateAssessmentFrameworkControlSet>>
pub fn get_control_sets( &self ) -> &Option<Vec<CreateAssessmentFrameworkControlSet>>
The control sets that are associated with the framework.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags that are associated with the framework.
The tags that are associated with the framework.
The tags that are associated with the framework.
sourcepub fn build(self) -> Result<CreateAssessmentFrameworkInput, BuildError>
pub fn build(self) -> Result<CreateAssessmentFrameworkInput, BuildError>
Consumes the builder and constructs a CreateAssessmentFrameworkInput
.
source§impl CreateAssessmentFrameworkInputBuilder
impl CreateAssessmentFrameworkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAssessmentFrameworkOutput, SdkError<CreateAssessmentFrameworkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAssessmentFrameworkOutput, SdkError<CreateAssessmentFrameworkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAssessmentFrameworkInputBuilder
impl Clone for CreateAssessmentFrameworkInputBuilder
source§fn clone(&self) -> CreateAssessmentFrameworkInputBuilder
fn clone(&self) -> CreateAssessmentFrameworkInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateAssessmentFrameworkInputBuilder
impl Default for CreateAssessmentFrameworkInputBuilder
source§fn default() -> CreateAssessmentFrameworkInputBuilder
fn default() -> CreateAssessmentFrameworkInputBuilder
source§impl PartialEq for CreateAssessmentFrameworkInputBuilder
impl PartialEq for CreateAssessmentFrameworkInputBuilder
source§fn eq(&self, other: &CreateAssessmentFrameworkInputBuilder) -> bool
fn eq(&self, other: &CreateAssessmentFrameworkInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.