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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OperationFailureDetails.BuildererrorInfo(Consumer<ErrorInfo.Builder> errorInfo)Sets the value of the ErrorInfo property for this object.OperationFailureDetails.BuildererrorInfo(ErrorInfo errorInfo)Sets the value of the ErrorInfo property for this object.OperationFailureDetails.BuilderrollbackOperationId(String rollbackOperationId)Provides the operation ID of a system-rollback operation executed due to failure in the current operation-
Methods 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
OperationFailureDetails.Builder errorInfo(ErrorInfo 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
default OperationFailureDetails.Builder errorInfo(Consumer<ErrorInfo.Builder> errorInfo)
Sets the value of the ErrorInfo property for this object. This is a convenience method that creates an instance of theErrorInfo.Builderavoiding the need to create one manually viaErrorInfo.builder().When the
Consumercompletes,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:
errorInfo(ErrorInfo)
-
-