Interface PutAssignmentEntry.Builder

  • Method Details

    • principalArn

      PutAssignmentEntry.Builder principalArn(String principalArn)

      The ARN of the user, group, or account to assign the policy to.

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

      PutAssignmentEntry.Builder existingPolicyArn(String existingPolicyArn)

      The ARN of the policy that you expect the principal to have before this request. If the principal has a different policy of the same type, or no policy of that type, this entry fails with a ConflictException error code and makes no change.

      Parameters:
      existingPolicyArn - The ARN of the policy that you expect the principal to have before this request. If the principal has a different policy of the same type, or no policy of that type, this entry fails with a ConflictException error code and makes no change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revision

      PutAssignmentEntry.Builder revision(Long revision)

      The revision of the assignment from your most recent read. If the assignment has changed since that revision, this entry fails with a ConflictException error code.

      Parameters:
      revision - The revision of the assignment from your most recent read. If the assignment has changed since that revision, this entry fails with a ConflictException error code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.