Interface BatchPutPolicyAssignmentError.Builder

  • Method Details

    • principalArn

      BatchPutPolicyAssignmentError.Builder principalArn(String principalArn)

      The ARN of the principal.

      Parameters:
      principalArn - The ARN of the principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      The reason the entry failed. Possible values:

      • ValidationException – The entry is not valid.

      • ResourceNotFoundException – The principal doesn't exist, or the policy was deleted while the request was being processed.

      • ConflictException – The principal doesn't have the existing policy that you specified, or the assignment changed since the revision that you specified.

      • ThrottlingException – The entry was throttled. You can retry this entry.

      • InternalFailureException – An internal error occurred.

      Parameters:
      errorCode - The reason the entry failed. Possible values:

      • ValidationException – The entry is not valid.

      • ResourceNotFoundException – The principal doesn't exist, or the policy was deleted while the request was being processed.

      • ConflictException – The principal doesn't have the existing policy that you specified, or the assignment changed since the revision that you specified.

      • ThrottlingException – The entry was throttled. You can retry this entry.

      • InternalFailureException – An internal error occurred.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      BatchPutPolicyAssignmentError.Builder errorMessage(String errorMessage)

      A description of the error.

      Parameters:
      errorMessage - A description of the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.