Interface RevisionError.Builder

  • Method Details

    • attribute

      RevisionError.Builder attribute(String attribute)

      The name of the revision attribute that the error applies to. Must be between 1 and 64 characters.

      Parameters:
      attribute - The name of the revision attribute that the error applies to. Must be between 1 and 64 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      RevisionError.Builder errorCode(String errorCode)

      A short, machine-readable code that identifies the error. Must be between 1 and 64 characters.

      Parameters:
      errorCode - A short, machine-readable code that identifies the error. Must be between 1 and 64 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      RevisionError.Builder errorMessage(String errorMessage)

      A human-readable message describing the error. Must be between 1 and 2048 characters.

      Parameters:
      errorMessage - A human-readable message describing the error. Must be between 1 and 2048 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.