Struct aws_sdk_auditmanager::operation::update_assessment::builders::UpdateAssessmentInputBuilder
source · #[non_exhaustive]pub struct UpdateAssessmentInputBuilder { /* private fields */ }Expand description
A builder for UpdateAssessmentInput.
Implementations§
source§impl UpdateAssessmentInputBuilder
impl UpdateAssessmentInputBuilder
sourcepub fn assessment_id(self, input: impl Into<String>) -> Self
pub fn assessment_id(self, input: impl Into<String>) -> Self
The unique identifier for the assessment.
This field is required.sourcepub fn set_assessment_id(self, input: Option<String>) -> Self
pub fn set_assessment_id(self, input: Option<String>) -> Self
The unique identifier for the assessment.
sourcepub fn get_assessment_id(&self) -> &Option<String>
pub fn get_assessment_id(&self) -> &Option<String>
The unique identifier for the assessment.
sourcepub fn assessment_name(self, input: impl Into<String>) -> Self
pub fn assessment_name(self, input: impl Into<String>) -> Self
The name of the assessment to be updated.
sourcepub fn set_assessment_name(self, input: Option<String>) -> Self
pub fn set_assessment_name(self, input: Option<String>) -> Self
The name of the assessment to be updated.
sourcepub fn get_assessment_name(&self) -> &Option<String>
pub fn get_assessment_name(&self) -> &Option<String>
The name of the assessment to be updated.
sourcepub fn assessment_description(self, input: impl Into<String>) -> Self
pub fn assessment_description(self, input: impl Into<String>) -> Self
The description of the assessment.
sourcepub fn set_assessment_description(self, input: Option<String>) -> Self
pub fn set_assessment_description(self, input: Option<String>) -> Self
The description of the assessment.
sourcepub fn get_assessment_description(&self) -> &Option<String>
pub fn get_assessment_description(&self) -> &Option<String>
The description of the assessment.
sourcepub fn assessment_reports_destination(
self,
input: AssessmentReportsDestination
) -> Self
pub fn assessment_reports_destination( self, input: AssessmentReportsDestination ) -> Self
The assessment report storage destination for the assessment that's being updated.
sourcepub fn set_assessment_reports_destination(
self,
input: Option<AssessmentReportsDestination>
) -> Self
pub fn set_assessment_reports_destination( self, input: Option<AssessmentReportsDestination> ) -> Self
The assessment report storage destination for the assessment that's being updated.
sourcepub fn get_assessment_reports_destination(
&self
) -> &Option<AssessmentReportsDestination>
pub fn get_assessment_reports_destination( &self ) -> &Option<AssessmentReportsDestination>
The assessment report storage destination for the assessment that's being updated.
sourcepub fn roles(self, input: Role) -> Self
pub fn roles(self, input: Role) -> Self
Appends an item to roles.
To override the contents of this collection use set_roles.
The list of roles for the assessment.
sourcepub fn build(self) -> Result<UpdateAssessmentInput, BuildError>
pub fn build(self) -> Result<UpdateAssessmentInput, BuildError>
Consumes the builder and constructs a UpdateAssessmentInput.
source§impl UpdateAssessmentInputBuilder
impl UpdateAssessmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAssessmentOutput, SdkError<UpdateAssessmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAssessmentOutput, SdkError<UpdateAssessmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAssessmentInputBuilder
impl Clone for UpdateAssessmentInputBuilder
source§fn clone(&self) -> UpdateAssessmentInputBuilder
fn clone(&self) -> UpdateAssessmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateAssessmentInputBuilder
impl Debug for UpdateAssessmentInputBuilder
source§impl Default for UpdateAssessmentInputBuilder
impl Default for UpdateAssessmentInputBuilder
source§fn default() -> UpdateAssessmentInputBuilder
fn default() -> UpdateAssessmentInputBuilder
source§impl PartialEq for UpdateAssessmentInputBuilder
impl PartialEq for UpdateAssessmentInputBuilder
source§fn eq(&self, other: &UpdateAssessmentInputBuilder) -> bool
fn eq(&self, other: &UpdateAssessmentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAssessmentInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAssessmentInputBuilder
impl RefUnwindSafe for UpdateAssessmentInputBuilder
impl Send for UpdateAssessmentInputBuilder
impl Sync for UpdateAssessmentInputBuilder
impl Unpin for UpdateAssessmentInputBuilder
impl UnwindSafe for UpdateAssessmentInputBuilder
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