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 ==
.