Interface FailedCapacityReservationFleetCancellationResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FailedCapacityReservationFleetCancellationResult.Builder,FailedCapacityReservationFleetCancellationResult>,SdkBuilder<FailedCapacityReservationFleetCancellationResult.Builder,FailedCapacityReservationFleetCancellationResult>,SdkPojo
- Enclosing class:
- FailedCapacityReservationFleetCancellationResult
public static interface FailedCapacityReservationFleetCancellationResult.Builder extends SdkPojo, CopyableBuilder<FailedCapacityReservationFleetCancellationResult.Builder,FailedCapacityReservationFleetCancellationResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FailedCapacityReservationFleetCancellationResult.BuildercancelCapacityReservationFleetError(Consumer<CancelCapacityReservationFleetError.Builder> cancelCapacityReservationFleetError)Information about the Capacity Reservation Fleet cancellation error.FailedCapacityReservationFleetCancellationResult.BuildercancelCapacityReservationFleetError(CancelCapacityReservationFleetError cancelCapacityReservationFleetError)Information about the Capacity Reservation Fleet cancellation error.FailedCapacityReservationFleetCancellationResult.BuildercapacityReservationFleetId(String capacityReservationFleetId)The ID of the Capacity Reservation Fleet that could not be cancelled.-
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, sdkFields
-
-
-
-
Method Detail
-
capacityReservationFleetId
FailedCapacityReservationFleetCancellationResult.Builder capacityReservationFleetId(String capacityReservationFleetId)
The ID of the Capacity Reservation Fleet that could not be cancelled.
- Parameters:
capacityReservationFleetId- The ID of the Capacity Reservation Fleet that could not be cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelCapacityReservationFleetError
FailedCapacityReservationFleetCancellationResult.Builder cancelCapacityReservationFleetError(CancelCapacityReservationFleetError cancelCapacityReservationFleetError)
Information about the Capacity Reservation Fleet cancellation error.
- Parameters:
cancelCapacityReservationFleetError- Information about the Capacity Reservation Fleet cancellation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelCapacityReservationFleetError
default FailedCapacityReservationFleetCancellationResult.Builder cancelCapacityReservationFleetError(Consumer<CancelCapacityReservationFleetError.Builder> cancelCapacityReservationFleetError)
Information about the Capacity Reservation Fleet cancellation error.
This is a convenience method that creates an instance of theCancelCapacityReservationFleetError.Builderavoiding the need to create one manually viaCancelCapacityReservationFleetError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocancelCapacityReservationFleetError(CancelCapacityReservationFleetError).- Parameters:
cancelCapacityReservationFleetError- a consumer that will call methods onCancelCapacityReservationFleetError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cancelCapacityReservationFleetError(CancelCapacityReservationFleetError)
-
-