Interface PolicyPrincipal.Builder

  • Method Details

    • principalArn

      PolicyPrincipal.Builder principalArn(String principalArn)

      The ARN of the user, group, or account.

      Parameters:
      principalArn - The ARN of the user, group, or account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principalType

      PolicyPrincipal.Builder principalType(String principalType)

      The type of the principal.

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

      PolicyPrincipal.Builder principalType(PrincipalType principalType)

      The type of the principal.

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

      PolicyPrincipal.Builder updatedAt(Instant updatedAt)

      The date and time that the assignment was last updated.

      Parameters:
      updatedAt - The date and time that the assignment was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revision

      PolicyPrincipal.Builder revision(Long revision)

      The current revision of the assignment.

      Parameters:
      revision - The current revision of the assignment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.