Interface ErrorCause.Builder

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

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

    • errorMessage

      ErrorCause.Builder errorMessage(String errorMessage)

      The text of the error message.

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

      ErrorCause.Builder errorCategory(String errorCategory)

      The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.

      Parameters:
      errorCategory - The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCategory

      ErrorCause.Builder errorCategory(ErrorCategory errorCategory)

      The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.

      Parameters:
      errorCategory - The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: