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 method that creates an instance of theControl.Builder avoiding the need to create one
manually via Control.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #controls(List.
controls - a consumer that will call methods on
Control.Builder#controls(java.util.Collection) Copyright © 2023. All rights reserved.