Interface Delegation.Builder

    • Method Detail

      • id

        Delegation.Builder id​(String id)

        The unique identifier for the delegation.

        Parameters:
        id - The unique identifier for the delegation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assessmentName

        Delegation.Builder assessmentName​(String assessmentName)

        The name of the assessment that's associated with the delegation.

        Parameters:
        assessmentName - The name of the assessment that's associated with the delegation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assessmentId

        Delegation.Builder assessmentId​(String assessmentId)

        The identifier for the assessment that's associated with the delegation.

        Parameters:
        assessmentId - The identifier for the assessment that's associated with the delegation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        Delegation.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) of the IAM role.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the IAM role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleType

        Delegation.Builder roleType​(String roleType)

        The type of customer persona.

        In CreateAssessment, roleType can only be PROCESS_OWNER.

        In UpdateSettings, roleType can only be PROCESS_OWNER.

        In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.

        Parameters:
        roleType - The type of customer persona.

        In CreateAssessment, roleType can only be PROCESS_OWNER.

        In UpdateSettings, roleType can only be PROCESS_OWNER.

        In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RoleType, RoleType
      • roleType

        Delegation.Builder roleType​(RoleType roleType)

        The type of customer persona.

        In CreateAssessment, roleType can only be PROCESS_OWNER.

        In UpdateSettings, roleType can only be PROCESS_OWNER.

        In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.

        Parameters:
        roleType - The type of customer persona.

        In CreateAssessment, roleType can only be PROCESS_OWNER.

        In UpdateSettings, roleType can only be PROCESS_OWNER.

        In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RoleType, RoleType
      • creationTime

        Delegation.Builder creationTime​(Instant creationTime)

        Specifies when the delegation was created.

        Parameters:
        creationTime - Specifies when the delegation was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdated

        Delegation.Builder lastUpdated​(Instant lastUpdated)

        Specifies when the delegation was last updated.

        Parameters:
        lastUpdated - Specifies when the delegation was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • controlSetId

        Delegation.Builder controlSetId​(String controlSetId)

        The identifier for the control set that's associated with the delegation.

        Parameters:
        controlSetId - The identifier for the control set that's associated with the delegation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • comment

        Delegation.Builder comment​(String comment)

        The comment that's related to the delegation.

        Parameters:
        comment - The comment that's related to the delegation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        Delegation.Builder createdBy​(String createdBy)

        The user or role that created the delegation.

        Parameters:
        createdBy - The user or role that created the delegation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.