Interface ModelError.Builder

  • Method Details

    • modelId

      ModelError.Builder modelId(String modelId)

      The identifier of the model.

      Parameters:
      modelId - The identifier of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      ModelError.Builder errorCode(String errorCode)

      The reason that the service couldn't return the item. NOT_FOUND indicates that the item doesn't exist or isn't available to your account.

      Parameters:
      errorCode - The reason that the service couldn't return the item. NOT_FOUND indicates that the item doesn't exist or isn't available to your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      ModelError.Builder errorCode(ModelErrorCode errorCode)

      The reason that the service couldn't return the item. NOT_FOUND indicates that the item doesn't exist or isn't available to your account.

      Parameters:
      errorCode - The reason that the service couldn't return the item. NOT_FOUND indicates that the item doesn't exist or isn't available to your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      ModelError.Builder message(String message)

      A description of the error.

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