public static interface ControlSet.Builder extends SdkPojo, CopyableBuilder<ControlSet.Builder,ControlSet>
| Modifier and Type | Method and Description |
|---|---|
ControlSet.Builder |
controls(Collection<Control> controls)
The list of controls within the control set.
|
ControlSet.Builder |
controls(Consumer<Control.Builder>... controls)
The list of controls within the control set.
|
ControlSet.Builder |
controls(Control... controls)
The list of controls within the control set.
|
ControlSet.Builder |
id(String id)
The identifier of the control set in the assessment.
|
ControlSet.Builder |
name(String name)
The name of the control set.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildControlSet.Builder id(String id)
The identifier of the control set in the assessment. This is the control set name in a plain string format.
id - The identifier of the control set in the assessment. This is the control set name in a plain string
format.ControlSet.Builder name(String name)
The name of the control set.
name - The name of the control set.ControlSet.Builder controls(Collection<Control> controls)
The list of controls within the control set.
controls - The list of controls within the control set.ControlSet.Builder controls(Control... controls)
The list of controls within the control set.
controls - The list of controls within the control set.ControlSet.Builder controls(Consumer<Control.Builder>... controls)
The list of controls within the control set.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #controls(List) .controls - a consumer that will call methods on List.Builder #controls(List) Copyright © 2021. All rights reserved.