Struct aws_sdk_auditmanager::operation::update_assessment_framework::builders::UpdateAssessmentFrameworkInputBuilder
source · #[non_exhaustive]pub struct UpdateAssessmentFrameworkInputBuilder { /* private fields */ }Expand description
A builder for UpdateAssessmentFrameworkInput.
Implementations§
source§impl UpdateAssessmentFrameworkInputBuilder
impl UpdateAssessmentFrameworkInputBuilder
sourcepub fn framework_id(self, input: impl Into<String>) -> Self
pub fn framework_id(self, input: impl Into<String>) -> Self
The unique identifier for the framework.
This field is required.sourcepub fn set_framework_id(self, input: Option<String>) -> Self
pub fn set_framework_id(self, input: Option<String>) -> Self
The unique identifier for the framework.
sourcepub fn get_framework_id(&self) -> &Option<String>
pub fn get_framework_id(&self) -> &Option<String>
The unique identifier for the framework.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the framework to be updated.
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 updated framework.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the updated framework.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the updated 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: UpdateAssessmentFrameworkControlSet) -> Self
pub fn control_sets(self, input: UpdateAssessmentFrameworkControlSet) -> 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<UpdateAssessmentFrameworkControlSet>>
) -> Self
pub fn set_control_sets( self, input: Option<Vec<UpdateAssessmentFrameworkControlSet>> ) -> Self
The control sets that are associated with the framework.
sourcepub fn get_control_sets(
&self
) -> &Option<Vec<UpdateAssessmentFrameworkControlSet>>
pub fn get_control_sets( &self ) -> &Option<Vec<UpdateAssessmentFrameworkControlSet>>
The control sets that are associated with the framework.
sourcepub fn build(self) -> Result<UpdateAssessmentFrameworkInput, BuildError>
pub fn build(self) -> Result<UpdateAssessmentFrameworkInput, BuildError>
Consumes the builder and constructs a UpdateAssessmentFrameworkInput.
source§impl UpdateAssessmentFrameworkInputBuilder
impl UpdateAssessmentFrameworkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAssessmentFrameworkOutput, SdkError<UpdateAssessmentFrameworkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAssessmentFrameworkOutput, SdkError<UpdateAssessmentFrameworkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAssessmentFrameworkInputBuilder
impl Clone for UpdateAssessmentFrameworkInputBuilder
source§fn clone(&self) -> UpdateAssessmentFrameworkInputBuilder
fn clone(&self) -> UpdateAssessmentFrameworkInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateAssessmentFrameworkInputBuilder
impl Default for UpdateAssessmentFrameworkInputBuilder
source§fn default() -> UpdateAssessmentFrameworkInputBuilder
fn default() -> UpdateAssessmentFrameworkInputBuilder
source§impl PartialEq for UpdateAssessmentFrameworkInputBuilder
impl PartialEq for UpdateAssessmentFrameworkInputBuilder
source§fn eq(&self, other: &UpdateAssessmentFrameworkInputBuilder) -> bool
fn eq(&self, other: &UpdateAssessmentFrameworkInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAssessmentFrameworkInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAssessmentFrameworkInputBuilder
impl RefUnwindSafe for UpdateAssessmentFrameworkInputBuilder
impl Send for UpdateAssessmentFrameworkInputBuilder
impl Sync for UpdateAssessmentFrameworkInputBuilder
impl Unpin for UpdateAssessmentFrameworkInputBuilder
impl UnwindSafe for UpdateAssessmentFrameworkInputBuilder
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