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 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 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 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.
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.
sourcepub fn build(self) -> Result<CreateAssessmentFrameworkInput, BuildError>
pub fn build(self) -> Result<CreateAssessmentFrameworkInput, BuildError>
Consumes the builder and constructs a CreateAssessmentFrameworkInput.
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<CreateAssessmentFrameworkInputBuilder> for CreateAssessmentFrameworkInputBuilder
impl PartialEq<CreateAssessmentFrameworkInputBuilder> 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 ==.