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 ==.impl StructuralPartialEq for CreateAssessmentFrameworkInputBuilder
Auto Trait Implementations§
impl Freeze for CreateAssessmentFrameworkInputBuilder
impl RefUnwindSafe for CreateAssessmentFrameworkInputBuilder
impl Send for CreateAssessmentFrameworkInputBuilder
impl Sync for CreateAssessmentFrameworkInputBuilder
impl Unpin for CreateAssessmentFrameworkInputBuilder
impl UnwindSafe for CreateAssessmentFrameworkInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more