Interface OperationFailureDetails.Builder

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

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

    • rollbackOperationId

      OperationFailureDetails.Builder rollbackOperationId(String rollbackOperationId)
      Provides the operation ID of a system-rollback operation executed due to failure in the current operation
      Parameters:
      rollbackOperationId - Provides the operation ID of a system-rollback operation executed due to failure in the current operation
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      Sets the value of the ErrorInfo property for this object.
      Parameters:
      errorInfo - The new value for the ErrorInfo property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      Sets the value of the ErrorInfo property for this object. This is a convenience method that creates an instance of the ErrorInfo.Builder avoiding the need to create one manually via ErrorInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errorInfo(ErrorInfo).

      Parameters:
      errorInfo - a consumer that will call methods on ErrorInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: