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 Summary
Modifier and TypeMethodDescriptiondefault OperationFailureDetails.Builder
errorInfo
(Consumer<ErrorInfo.Builder> errorInfo) Sets the value of the ErrorInfo property for this object.Sets the value of the ErrorInfo property for this object.rollbackOperationId
(String rollbackOperationId) Provides the operation ID of a system-rollback operation executed due to failure in the current operationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 theErrorInfo.Builder
avoiding the need to create one manually viaErrorInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorInfo(ErrorInfo)
.- Parameters:
errorInfo
- a consumer that will call methods onErrorInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-