Struct aws_sdk_auditmanager::types::builders::AssessmentBuilder
source · #[non_exhaustive]pub struct AssessmentBuilder { /* private fields */ }Expand description
A builder for Assessment.
Implementations§
source§impl AssessmentBuilder
impl AssessmentBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the assessment.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the assessment.
sourcepub fn aws_account(self, input: AwsAccount) -> Self
pub fn aws_account(self, input: AwsAccount) -> Self
The Amazon Web Services account that's associated with the assessment.
sourcepub fn set_aws_account(self, input: Option<AwsAccount>) -> Self
pub fn set_aws_account(self, input: Option<AwsAccount>) -> Self
The Amazon Web Services account that's associated with the assessment.
sourcepub fn get_aws_account(&self) -> &Option<AwsAccount>
pub fn get_aws_account(&self) -> &Option<AwsAccount>
The Amazon Web Services account that's associated with the assessment.
sourcepub fn metadata(self, input: AssessmentMetadata) -> Self
pub fn metadata(self, input: AssessmentMetadata) -> Self
The metadata for the assessment.
sourcepub fn set_metadata(self, input: Option<AssessmentMetadata>) -> Self
pub fn set_metadata(self, input: Option<AssessmentMetadata>) -> Self
The metadata for the assessment.
sourcepub fn get_metadata(&self) -> &Option<AssessmentMetadata>
pub fn get_metadata(&self) -> &Option<AssessmentMetadata>
The metadata for the assessment.
sourcepub fn framework(self, input: AssessmentFramework) -> Self
pub fn framework(self, input: AssessmentFramework) -> Self
The framework that the assessment was created from.
sourcepub fn set_framework(self, input: Option<AssessmentFramework>) -> Self
pub fn set_framework(self, input: Option<AssessmentFramework>) -> Self
The framework that the assessment was created from.
sourcepub fn get_framework(&self) -> &Option<AssessmentFramework>
pub fn get_framework(&self) -> &Option<AssessmentFramework>
The framework that the assessment was created from.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags that are associated with the assessment.
The tags that are associated with the assessment.
The tags that are associated with the assessment.
sourcepub fn build(self) -> Assessment
pub fn build(self) -> Assessment
Consumes the builder and constructs a Assessment.
Trait Implementations§
source§impl Clone for AssessmentBuilder
impl Clone for AssessmentBuilder
source§fn clone(&self) -> AssessmentBuilder
fn clone(&self) -> AssessmentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssessmentBuilder
impl Debug for AssessmentBuilder
source§impl Default for AssessmentBuilder
impl Default for AssessmentBuilder
source§fn default() -> AssessmentBuilder
fn default() -> AssessmentBuilder
source§impl PartialEq for AssessmentBuilder
impl PartialEq for AssessmentBuilder
source§fn eq(&self, other: &AssessmentBuilder) -> bool
fn eq(&self, other: &AssessmentBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssessmentBuilder
Auto Trait Implementations§
impl Freeze for AssessmentBuilder
impl RefUnwindSafe for AssessmentBuilder
impl Send for AssessmentBuilder
impl Sync for AssessmentBuilder
impl Unpin for AssessmentBuilder
impl UnwindSafe for AssessmentBuilder
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