Interface AssessmentFramework.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentFramework.Builder,AssessmentFramework>,SdkBuilder<AssessmentFramework.Builder,AssessmentFramework>,SdkPojo
- Enclosing class:
- AssessmentFramework
public static interface AssessmentFramework.Builder extends SdkPojo, CopyableBuilder<AssessmentFramework.Builder,AssessmentFramework>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssessmentFramework.Builderarn(String arn)The Amazon Resource Name (ARN) of the framework.AssessmentFramework.BuildercontrolSets(Collection<AssessmentControlSet> controlSets)The control sets that are associated with the framework.AssessmentFramework.BuildercontrolSets(Consumer<AssessmentControlSet.Builder>... controlSets)The control sets that are associated with the framework.AssessmentFramework.BuildercontrolSets(AssessmentControlSet... controlSets)The control sets that are associated with the framework.AssessmentFramework.Builderid(String id)The unique identifier for the framework.default AssessmentFramework.Buildermetadata(Consumer<FrameworkMetadata.Builder> metadata)Sets the value of the Metadata property for this object.AssessmentFramework.Buildermetadata(FrameworkMetadata metadata)Sets the value of the Metadata property for this object.-
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
-
id
AssessmentFramework.Builder id(String id)
The unique identifier for the framework.
- Parameters:
id- The unique identifier for the framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
AssessmentFramework.Builder arn(String arn)
The Amazon Resource Name (ARN) of the framework.
- Parameters:
arn- The Amazon Resource Name (ARN) of the framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
AssessmentFramework.Builder metadata(FrameworkMetadata metadata)
Sets the value of the Metadata property for this object.- Parameters:
metadata- The new value for the Metadata property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
default AssessmentFramework.Builder metadata(Consumer<FrameworkMetadata.Builder> metadata)
Sets the value of the Metadata property for this object. This is a convenience method that creates an instance of theFrameworkMetadata.Builderavoiding the need to create one manually viaFrameworkMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(FrameworkMetadata).- Parameters:
metadata- a consumer that will call methods onFrameworkMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadata(FrameworkMetadata)
-
controlSets
AssessmentFramework.Builder controlSets(Collection<AssessmentControlSet> controlSets)
The control sets that are associated with the framework.
- Parameters:
controlSets- The control sets that are associated with the framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlSets
AssessmentFramework.Builder controlSets(AssessmentControlSet... controlSets)
The control sets that are associated with the framework.
- Parameters:
controlSets- The control sets that are associated with the framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlSets
AssessmentFramework.Builder controlSets(Consumer<AssessmentControlSet.Builder>... controlSets)
The control sets that are associated with the framework.
This is a convenience method that creates an instance of theAssessmentControlSet.Builderavoiding the need to create one manually viaAssessmentControlSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#controlSets(List.) - Parameters:
controlSets- a consumer that will call methods onAssessmentControlSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#controlSets(java.util.Collection)
-
-