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 Details

    • 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

      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

      The list of controls within the control set.

      This is a convenience method that creates an instance of the Control.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<Control>).

      Parameters:
      controls - a consumer that will call methods on Control.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: