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 set_roles(self, input: Option<Vec<Role>>) -> Self
pub fn set_roles(self, input: Option<Vec<Role>>) -> Self
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 ==.