Interface CreateAssessmentFrameworkControlSet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateAssessmentFrameworkControlSet.Builder,
,CreateAssessmentFrameworkControlSet> SdkBuilder<CreateAssessmentFrameworkControlSet.Builder,
,CreateAssessmentFrameworkControlSet> SdkPojo
- Enclosing class:
CreateAssessmentFrameworkControlSet
public static interface CreateAssessmentFrameworkControlSet.Builder
extends SdkPojo, CopyableBuilder<CreateAssessmentFrameworkControlSet.Builder,CreateAssessmentFrameworkControlSet>
-
Method Summary
Modifier and TypeMethodDescriptioncontrols
(Collection<CreateAssessmentFrameworkControl> controls) The list of controls within the control set.controls
(Consumer<CreateAssessmentFrameworkControl.Builder>... controls) The list of controls within the control set.controls
(CreateAssessmentFrameworkControl... controls) The list of controls within the control set.The name of the control set.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
-
name
The name of the control set.
- Parameters:
name
- The name of the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
CreateAssessmentFrameworkControlSet.Builder controls(Collection<CreateAssessmentFrameworkControl> controls) The list of controls within the control set. This doesn't contain the control set ID.
- Parameters:
controls
- The list of controls within the control set. This doesn't contain the control set ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
The list of controls within the control set. This doesn't contain the control set ID.
- Parameters:
controls
- The list of controls within the control set. This doesn't contain the control set ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
CreateAssessmentFrameworkControlSet.Builder controls(Consumer<CreateAssessmentFrameworkControl.Builder>... controls) The list of controls within the control set. This doesn't contain the control set ID.
This is a convenience method that creates an instance of theCreateAssessmentFrameworkControl.Builder
avoiding the need to create one manually viaCreateAssessmentFrameworkControl.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontrols(List<CreateAssessmentFrameworkControl>)
.- Parameters:
controls
- a consumer that will call methods onCreateAssessmentFrameworkControl.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-