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
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the framework.controlSets
(Collection<AssessmentControlSet> controlSets) The control sets that are associated with the framework.controlSets
(Consumer<AssessmentControlSet.Builder>... controlSets) The control sets that are associated with the framework.controlSets
(AssessmentControlSet... controlSets) The control sets that are associated with the framework.The unique identifier for the framework.default AssessmentFramework.Builder
metadata
(Consumer<FrameworkMetadata.Builder> metadata) Sets the value of the Metadata property for this object.metadata
(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 Details
-
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
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
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
Sets the value of the Metadata property for this object. This is a convenience method that creates an instance of theFrameworkMetadata.Builder
avoiding the need to create one manually viaFrameworkMetadata.builder()
.When the
Consumer
completes,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:
-
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
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
The control sets that are associated with the framework.
This is a convenience method that creates an instance of theAssessmentControlSet.Builder
avoiding the need to create one manually viaAssessmentControlSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontrolSets(List<AssessmentControlSet>)
.- 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:
-