Struct aws_sdk_auditmanager::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder
source · pub struct CreateAssessmentFrameworkFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAssessmentFramework
.
Creates a custom framework in Audit Manager.
Implementations§
source§impl CreateAssessmentFrameworkFluentBuilder
impl CreateAssessmentFrameworkFluentBuilder
sourcepub fn as_input(&self) -> &CreateAssessmentFrameworkInputBuilder
pub fn as_input(&self) -> &CreateAssessmentFrameworkInputBuilder
Access the CreateAssessmentFramework as a reference.
sourcepub async fn send(
self,
) -> Result<CreateAssessmentFrameworkOutput, SdkError<CreateAssessmentFrameworkError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateAssessmentFrameworkOutput, SdkError<CreateAssessmentFrameworkError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<CreateAssessmentFrameworkOutput, CreateAssessmentFrameworkError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateAssessmentFrameworkOutput, CreateAssessmentFrameworkError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 controlSets
.
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.
Trait Implementations§
source§impl Clone for CreateAssessmentFrameworkFluentBuilder
impl Clone for CreateAssessmentFrameworkFluentBuilder
source§fn clone(&self) -> CreateAssessmentFrameworkFluentBuilder
fn clone(&self) -> CreateAssessmentFrameworkFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateAssessmentFrameworkFluentBuilder
impl !RefUnwindSafe for CreateAssessmentFrameworkFluentBuilder
impl Send for CreateAssessmentFrameworkFluentBuilder
impl Sync for CreateAssessmentFrameworkFluentBuilder
impl Unpin for CreateAssessmentFrameworkFluentBuilder
impl !UnwindSafe for CreateAssessmentFrameworkFluentBuilder
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