Interface RetrievalInstructionFailureReason.Builder

  • Method Details

    • fieldName

      The instruction field this entry is about. Present on review rejections of a specific field; absent when the failure applies to the whole review, because a client-side execution failure or a service fault has no single field.

      Parameters:
      fieldName - The instruction field this entry is about. Present on review rejections of a specific field; absent when the failure applies to the whole review, because a client-side execution failure or a service fault has no single field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fieldName

      The instruction field this entry is about. Present on review rejections of a specific field; absent when the failure applies to the whole review, because a client-side execution failure or a service fault has no single field.

      Parameters:
      fieldName - The instruction field this entry is about. Present on review rejections of a specific field; absent when the failure applies to the whole review, because a client-side execution failure or a service fault has no single field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • code

      Stable, machine-readable classification by fault attribution. Valid values:

      • CONTENT_REJECTED – The review rejected the named field's content; revise the text and resubmit.

      • CLIENT_ERROR – The review could not run for a customer-side reason, for example the customer managed AWS KMS key could not be used; fix the configuration and resubmit.

      • INTERNAL_ERROR – The review could not complete due to a service fault; retry the create or update.

      New values may be added over time; your client should tolerate values it does not recognize and treat them as a failure.

      Parameters:
      code - Stable, machine-readable classification by fault attribution. Valid values:

      • CONTENT_REJECTED – The review rejected the named field's content; revise the text and resubmit.

      • CLIENT_ERROR – The review could not run for a customer-side reason, for example the customer managed AWS KMS key could not be used; fix the configuration and resubmit.

      • INTERNAL_ERROR – The review could not complete due to a service fault; retry the create or update.

      New values may be added over time; your client should tolerate values it does not recognize and treat them as a failure.

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

      Stable, machine-readable classification by fault attribution. Valid values:

      • CONTENT_REJECTED – The review rejected the named field's content; revise the text and resubmit.

      • CLIENT_ERROR – The review could not run for a customer-side reason, for example the customer managed AWS KMS key could not be used; fix the configuration and resubmit.

      • INTERNAL_ERROR – The review could not complete due to a service fault; retry the create or update.

      New values may be added over time; your client should tolerate values it does not recognize and treat them as a failure.

      Parameters:
      code - Stable, machine-readable classification by fault attribution. Valid values:

      • CONTENT_REJECTED – The review rejected the named field's content; revise the text and resubmit.

      • CLIENT_ERROR – The review could not run for a customer-side reason, for example the customer managed AWS KMS key could not be used; fix the configuration and resubmit.

      • INTERNAL_ERROR – The review could not complete due to a service fault; retry the create or update.

      New values may be added over time; your client should tolerate values it does not recognize and treat them as a failure.

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

      Human-readable explanation of the specific cause. Never contains the customer's own text.

      Parameters:
      message - Human-readable explanation of the specific cause. Never contains the customer's own text.
      Returns:
      Returns a reference to this object so that method calls can be chained together.