Interface PermissionSetAssignment.Builder

  • Method Details

    • assignmentId

      PermissionSetAssignment.Builder assignmentId(String assignmentId)

      The unique identifier of the permission set assignment.

      Parameters:
      assignmentId - The unique identifier of the permission set assignment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principalType

      PermissionSetAssignment.Builder principalType(String principalType)

      The type of principal the permission set is assigned to.

      Parameters:
      principalType - The type of principal the permission set is assigned to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • principalType

      PermissionSetAssignment.Builder principalType(PrincipalType principalType)

      The type of principal the permission set is assigned to.

      Parameters:
      principalType - The type of principal the permission set is assigned to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • principalId

      PermissionSetAssignment.Builder principalId(String principalId)

      The unique identifier of the principal the permission set is assigned to.

      Parameters:
      principalId - The unique identifier of the principal the permission set is assigned to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • permissionSetId

      PermissionSetAssignment.Builder permissionSetId(String permissionSetId)

      The identifier of the permission set.

      Parameters:
      permissionSetId - The identifier of the permission set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopeType

      The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.

      Parameters:
      scopeType - The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scopeType

      The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.

      Parameters:
      scopeType - The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scopeId

      The identifier of the scoped resource. Omitted for environment-wide assignments.

      Parameters:
      scopeId - The identifier of the scoped resource. Omitted for environment-wide assignments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The timestamp when the assignment was created.

      Parameters:
      createdAt - The timestamp when the assignment was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.