Interface CancellationReason.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CancellationReason.Builder,CancellationReason>,SdkBuilder<CancellationReason.Builder,CancellationReason>,SdkPojo
- Enclosing class:
- CancellationReason
@Mutable @NotThreadSafe public static interface CancellationReason.Builder extends SdkPojo, CopyableBuilder<CancellationReason.Builder,CancellationReason>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CancellationReason.Buildercode(String code)Status code for the result of the cancelled transaction.CancellationReason.Builderitem(Map<String,AttributeValue> item)Item in the request which caused the transaction to get cancelled.CancellationReason.Buildermessage(String message)Cancellation reason message description.-
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
-
item
CancellationReason.Builder item(Map<String,AttributeValue> item)
Item in the request which caused the transaction to get cancelled.
- Parameters:
item- Item in the request which caused the transaction to get cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
CancellationReason.Builder code(String code)
Status code for the result of the cancelled transaction.
- Parameters:
code- Status code for the result of the cancelled transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
CancellationReason.Builder message(String message)
Cancellation reason message description.
- Parameters:
message- Cancellation reason message description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-