Interface Cancellation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Cancellation.Builder,,Cancellation> SdkBuilder<Cancellation.Builder,,Cancellation> SdkPojo
- Enclosing class:
Cancellation
@Mutable
@NotThreadSafe
public static interface Cancellation.Builder
extends SdkPojo, CopyableBuilder<Cancellation.Builder,Cancellation>
-
Method Summary
Modifier and TypeMethodDescriptionA message providing additional details about the cancellation, such as the reason for the cancellation or failure details.The current status of the cancellation.status(CancellationStatus status) The current status of the cancellation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
The current status of the cancellation. Valid values are
InProgress,Failed, andSuccessful.- Parameters:
status- The current status of the cancellation. Valid values areInProgress,Failed, andSuccessful.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the cancellation. Valid values are
InProgress,Failed, andSuccessful.- Parameters:
status- The current status of the cancellation. Valid values areInProgress,Failed, andSuccessful.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
A message providing additional details about the cancellation, such as the reason for the cancellation or failure details.
- Parameters:
reason- A message providing additional details about the cancellation, such as the reason for the cancellation or failure details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-