Interface AssessmentControlSet.Builder

    • Method Detail

      • id

        AssessmentControlSet.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.
      • description

        AssessmentControlSet.Builder description​(String description)

        The description for the control set.

        Parameters:
        description - The description for the control set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roles

        AssessmentControlSet.Builder roles​(Collection<Role> roles)

        The roles that are associated with the control set.

        Parameters:
        roles - The roles that are associated with the control set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roles

        AssessmentControlSet.Builder roles​(Role... roles)

        The roles that are associated with the control set.

        Parameters:
        roles - The roles that are associated with the control set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roles

        AssessmentControlSet.Builder roles​(Consumer<Role.Builder>... roles)

        The roles that are associated with the control set.

        This is a convenience method that creates an instance of the Role.Builder avoiding the need to create one manually via Role.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #roles(List).

        Parameters:
        roles - a consumer that will call methods on Role.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #roles(java.util.Collection)
      • controls

        AssessmentControlSet.Builder controls​(Collection<AssessmentControl> controls)

        The list of controls that's contained with the control set.

        Parameters:
        controls - The list of controls that's contained with the control set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • controls

        AssessmentControlSet.Builder controls​(AssessmentControl... controls)

        The list of controls that's contained with the control set.

        Parameters:
        controls - The list of controls that's contained with the control set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • delegations

        AssessmentControlSet.Builder delegations​(Collection<Delegation> delegations)

        The delegations that are associated with the control set.

        Parameters:
        delegations - The delegations that are associated with the control set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • delegations

        AssessmentControlSet.Builder delegations​(Delegation... delegations)

        The delegations that are associated with the control set.

        Parameters:
        delegations - The delegations that are associated with the control set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • systemEvidenceCount

        AssessmentControlSet.Builder systemEvidenceCount​(Integer systemEvidenceCount)

        The total number of evidence objects that are retrieved automatically for the control set.

        Parameters:
        systemEvidenceCount - The total number of evidence objects that are retrieved automatically for the control set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • manualEvidenceCount

        AssessmentControlSet.Builder manualEvidenceCount​(Integer manualEvidenceCount)

        The total number of evidence objects that are uploaded manually to the control set.

        Parameters:
        manualEvidenceCount - The total number of evidence objects that are uploaded manually to the control set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.