Interface Delegation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Delegation.Builder,Delegation>, SdkBuilder<Delegation.Builder,Delegation>, SdkPojo
Enclosing class:
Delegation

public static interface Delegation.Builder extends SdkPojo, CopyableBuilder<Delegation.Builder,Delegation>
  • Method Details

    • 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.
    • status

      Delegation.Builder status(String status)

      The status of the delegation.

      Parameters:
      status - The status of the delegation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the delegation.

      Parameters:
      status - The status of the delegation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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.