Interface Assessment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Assessment.Builder,
,Assessment> SdkBuilder<Assessment.Builder,
,Assessment> SdkPojo
- Enclosing class:
Assessment
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the assessment.default Assessment.Builder
awsAccount
(Consumer<AWSAccount.Builder> awsAccount) The Amazon Web Services account that's associated with the assessment.awsAccount
(AWSAccount awsAccount) The Amazon Web Services account that's associated with the assessment.default Assessment.Builder
framework
(Consumer<AssessmentFramework.Builder> framework) The framework that the assessment was created from.framework
(AssessmentFramework framework) The framework that the assessment was created from.default Assessment.Builder
metadata
(Consumer<AssessmentMetadata.Builder> metadata) The metadata for the assessment.metadata
(AssessmentMetadata metadata) The metadata for the assessment.The tags that are associated with the assessment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the assessment.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccount
The Amazon Web Services account that's associated with the assessment.
- Parameters:
awsAccount
- The Amazon Web Services account that's associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccount
The Amazon Web Services account that's associated with the assessment.
This is a convenience method that creates an instance of theAWSAccount.Builder
avoiding the need to create one manually viaAWSAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsAccount(AWSAccount)
.- Parameters:
awsAccount
- a consumer that will call methods onAWSAccount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadata
The metadata for the assessment.
- Parameters:
metadata
- The metadata for the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The metadata for the assessment.
This is a convenience method that creates an instance of theAssessmentMetadata.Builder
avoiding the need to create one manually viaAssessmentMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(AssessmentMetadata)
.- Parameters:
metadata
- a consumer that will call methods onAssessmentMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
framework
The framework that the assessment was created from.
- Parameters:
framework
- The framework that the assessment was created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
framework
The framework that the assessment was created from.
This is a convenience method that creates an instance of theAssessmentFramework.Builder
avoiding the need to create one manually viaAssessmentFramework.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toframework(AssessmentFramework)
.- Parameters:
framework
- a consumer that will call methods onAssessmentFramework.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags that are associated with the assessment.
- Parameters:
tags
- The tags that are associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-