Interface ControlSet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ControlSet.Builder,ControlSet>,SdkBuilder<ControlSet.Builder,ControlSet>,SdkPojo
- Enclosing class:
- ControlSet
public static interface ControlSet.Builder extends SdkPojo, CopyableBuilder<ControlSet.Builder,ControlSet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ControlSet.Buildercontrols(Collection<Control> controls)The list of controls within the control set.ControlSet.Buildercontrols(Consumer<Control.Builder>... controls)The list of controls within the control set.ControlSet.Buildercontrols(Control... controls)The list of controls within the control set.ControlSet.Builderid(String id)The identifier of the control set in the assessment.ControlSet.Buildername(String name)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 Detail
-
id
ControlSet.Builder id(String id)
The identifier of the control set in the assessment. This is the control set name in a plain string format.
- Parameters:
id- The identifier of the control set in the assessment. This is the control set name in a plain string format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ControlSet.Builder name(String 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
ControlSet.Builder controls(Collection<Control> controls)
The list of controls within the control set.
- Parameters:
controls- The list of controls within the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
ControlSet.Builder controls(Control... controls)
The list of controls within the control set.
- Parameters:
controls- The list of controls within the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
ControlSet.Builder controls(Consumer<Control.Builder>... controls)
The list of controls within the control set.
This is a convenience method that creates an instance of theControl.Builderavoiding the need to create one manually viaControl.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#controls(List.) - Parameters:
controls- a consumer that will call methods onControl.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#controls(java.util.Collection)
-
-