Interface ErrorInfo.Builder

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

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

    • code

      The error code for an invalid or failed operation.

      Parameters:
      code - The error code for an invalid or failed operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reason

      ErrorInfo.Builder reason(String reason)

      The failure reason for the operation.

      Parameters:
      reason - The failure reason for the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.