Interface ErrorDetails.Builder

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

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

    • errorType

      ErrorDetails.Builder errorType(String errorType)

      The type of error that occurred.

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

      ErrorDetails.Builder errorMessage(String errorMessage)

      A message describing the error.

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