Interface Assessment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Assessment.Builder,Assessment>,SdkBuilder<Assessment.Builder,Assessment>,SdkPojo
- Enclosing class:
- Assessment
public static interface Assessment.Builder extends SdkPojo, CopyableBuilder<Assessment.Builder,Assessment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Assessment.Builderarn(String arn)The Amazon Resource Name (ARN) of the assessment.default Assessment.BuilderawsAccount(Consumer<AWSAccount.Builder> awsAccount)The Amazon Web Services account that's associated with the assessment.Assessment.BuilderawsAccount(AWSAccount awsAccount)The Amazon Web Services account that's associated with the assessment.default Assessment.Builderframework(Consumer<AssessmentFramework.Builder> framework)The framework that the assessment was created from.Assessment.Builderframework(AssessmentFramework framework)The framework that the assessment was created from.default Assessment.Buildermetadata(Consumer<AssessmentMetadata.Builder> metadata)The metadata for the assessment.Assessment.Buildermetadata(AssessmentMetadata metadata)The metadata for the assessment.Assessment.Buildertags(Map<String,String> tags)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 Detail
-
arn
Assessment.Builder arn(String 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
Assessment.Builder awsAccount(AWSAccount 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
default Assessment.Builder awsAccount(Consumer<AWSAccount.Builder> awsAccount)
The Amazon Web Services account that's associated with the assessment.
This is a convenience method that creates an instance of theAWSAccount.Builderavoiding the need to create one manually viaAWSAccount.builder().When the
Consumercompletes,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:
awsAccount(AWSAccount)
-
metadata
Assessment.Builder metadata(AssessmentMetadata 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
default Assessment.Builder metadata(Consumer<AssessmentMetadata.Builder> metadata)
The metadata for the assessment.
This is a convenience method that creates an instance of theAssessmentMetadata.Builderavoiding the need to create one manually viaAssessmentMetadata.builder().When the
Consumercompletes,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:
metadata(AssessmentMetadata)
-
framework
Assessment.Builder framework(AssessmentFramework 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
default Assessment.Builder framework(Consumer<AssessmentFramework.Builder> framework)
The framework that the assessment was created from.
This is a convenience method that creates an instance of theAssessmentFramework.Builderavoiding the need to create one manually viaAssessmentFramework.builder().When the
Consumercompletes,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:
framework(AssessmentFramework)
-
tags
Assessment.Builder tags(Map<String,String> 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.
-
-