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

    • message

      ErrorDetails.Builder message(String message)

      Detailed information about the reason that the operation failed.

      Parameters:
      message - Detailed information about the reason that the operation failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • code

      The error code associated with the operation failure.

      Parameters:
      code - The error code associated with the operation failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.