Interface ErrorDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ErrorDetail.Builder,ErrorDetail>, SdkBuilder<ErrorDetail.Builder,ErrorDetail>, SdkPojo
Enclosing class:
ErrorDetail

public static interface ErrorDetail.Builder extends SdkPojo, CopyableBuilder<ErrorDetail.Builder,ErrorDetail>
  • Method Details

    • errorCode

      ErrorDetail.Builder errorCode(String errorCode)

      The error code that identifies the type of error.

      Parameters:
      errorCode - The error code that identifies the type of error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      ErrorDetail.Builder errorMessage(String errorMessage)

      The message for the error.

      Parameters:
      errorMessage - The message for the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.