Interface UpdateAssessmentFrameworkControlSet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateAssessmentFrameworkControlSet.Builder,
,UpdateAssessmentFrameworkControlSet> SdkBuilder<UpdateAssessmentFrameworkControlSet.Builder,
,UpdateAssessmentFrameworkControlSet> SdkPojo
- Enclosing class:
UpdateAssessmentFrameworkControlSet
public static interface UpdateAssessmentFrameworkControlSet.Builder
extends SdkPojo, CopyableBuilder<UpdateAssessmentFrameworkControlSet.Builder,UpdateAssessmentFrameworkControlSet>
-
Method Summary
Modifier and TypeMethodDescriptioncontrols
(Collection<CreateAssessmentFrameworkControl> controls) The list of controls that are contained within the control set.controls
(Consumer<CreateAssessmentFrameworkControl.Builder>... controls) The list of controls that are contained within the control set.controls
(CreateAssessmentFrameworkControl... controls) The list of controls that are contained within the control set.The unique identifier for 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
-
id
The unique identifier for the control set.
- Parameters:
id
- The unique identifier for the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
UpdateAssessmentFrameworkControlSet.Builder controls(Collection<CreateAssessmentFrameworkControl> controls) The list of controls that are contained within the control set.
- Parameters:
controls
- The list of controls that are contained within the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
The list of controls that are contained within the control set.
- Parameters:
controls
- The list of controls that are contained within the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
UpdateAssessmentFrameworkControlSet.Builder controls(Consumer<CreateAssessmentFrameworkControl.Builder>... controls) The list of controls that are contained within the control set.
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:
-