Interface CapacityBlockExtension.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityBlockExtension.Builder,
,CapacityBlockExtension> SdkBuilder<CapacityBlockExtension.Builder,
,CapacityBlockExtension> SdkPojo
- Enclosing class:
CapacityBlockExtension
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone of the Capacity Block extension.availabilityZoneId
(String availabilityZoneId) The Availability Zone ID of the Capacity Block extension.capacityBlockExtensionDurationHours
(Integer capacityBlockExtensionDurationHours) The duration of the Capacity Block extension in hours.capacityBlockExtensionEndDate
(Instant capacityBlockExtensionEndDate) The end date of the Capacity Block extension.capacityBlockExtensionOfferingId
(String capacityBlockExtensionOfferingId) The ID of the Capacity Block extension offering.capacityBlockExtensionPurchaseDate
(Instant capacityBlockExtensionPurchaseDate) The date when the Capacity Block extension was purchased.capacityBlockExtensionStartDate
(Instant capacityBlockExtensionStartDate) The start date of the Capacity Block extension.capacityBlockExtensionStatus
(String capacityBlockExtensionStatus) The status of the Capacity Block extension.capacityBlockExtensionStatus
(CapacityBlockExtensionStatus capacityBlockExtensionStatus) The status of the Capacity Block extension.capacityReservationId
(String capacityReservationId) The reservation ID of the Capacity Block extension.currencyCode
(String currencyCode) The currency of the payment for the Capacity Block extension.instanceCount
(Integer instanceCount) The number of instances in the Capacity Block extension.instanceType
(String instanceType) The instance type of the Capacity Block extension.upfrontFee
(String upfrontFee) The total price to be paid up front.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 Details
-
capacityReservationId
The reservation ID of the Capacity Block extension.
- Parameters:
capacityReservationId
- The reservation ID of the Capacity Block extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type of the Capacity Block extension.
- Parameters:
instanceType
- The instance type of the Capacity Block extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCount
The number of instances in the Capacity Block extension.
- Parameters:
instanceCount
- The number of instances in the Capacity Block extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the Capacity Block extension.
- Parameters:
availabilityZone
- The Availability Zone of the Capacity Block extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The Availability Zone ID of the Capacity Block extension.
- Parameters:
availabilityZoneId
- The Availability Zone ID of the Capacity Block extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensionOfferingId
CapacityBlockExtension.Builder capacityBlockExtensionOfferingId(String capacityBlockExtensionOfferingId) The ID of the Capacity Block extension offering.
- Parameters:
capacityBlockExtensionOfferingId
- The ID of the Capacity Block extension offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensionDurationHours
CapacityBlockExtension.Builder capacityBlockExtensionDurationHours(Integer capacityBlockExtensionDurationHours) The duration of the Capacity Block extension in hours.
- Parameters:
capacityBlockExtensionDurationHours
- The duration of the Capacity Block extension in hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensionStatus
The status of the Capacity Block extension. A Capacity Block extension can have one of the following statuses:
-
payment-pending
- The Capacity Block extension payment is processing. If your payment can't be processed within 12 hours, the Capacity Block extension is failed. -
payment-failed
- Payment for the Capacity Block extension request was not successful. -
payment-succeeded
- Payment for the Capacity Block extension request was successful. You receive an invoice that reflects the one-time upfront payment. In the invoice, you can associate the paid amount with the Capacity Block reservation ID.
- Parameters:
capacityBlockExtensionStatus
- The status of the Capacity Block extension. A Capacity Block extension can have one of the following statuses:-
payment-pending
- The Capacity Block extension payment is processing. If your payment can't be processed within 12 hours, the Capacity Block extension is failed. -
payment-failed
- Payment for the Capacity Block extension request was not successful. -
payment-succeeded
- Payment for the Capacity Block extension request was successful. You receive an invoice that reflects the one-time upfront payment. In the invoice, you can associate the paid amount with the Capacity Block reservation ID.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
capacityBlockExtensionStatus
CapacityBlockExtension.Builder capacityBlockExtensionStatus(CapacityBlockExtensionStatus capacityBlockExtensionStatus) The status of the Capacity Block extension. A Capacity Block extension can have one of the following statuses:
-
payment-pending
- The Capacity Block extension payment is processing. If your payment can't be processed within 12 hours, the Capacity Block extension is failed. -
payment-failed
- Payment for the Capacity Block extension request was not successful. -
payment-succeeded
- Payment for the Capacity Block extension request was successful. You receive an invoice that reflects the one-time upfront payment. In the invoice, you can associate the paid amount with the Capacity Block reservation ID.
- Parameters:
capacityBlockExtensionStatus
- The status of the Capacity Block extension. A Capacity Block extension can have one of the following statuses:-
payment-pending
- The Capacity Block extension payment is processing. If your payment can't be processed within 12 hours, the Capacity Block extension is failed. -
payment-failed
- Payment for the Capacity Block extension request was not successful. -
payment-succeeded
- Payment for the Capacity Block extension request was successful. You receive an invoice that reflects the one-time upfront payment. In the invoice, you can associate the paid amount with the Capacity Block reservation ID.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
capacityBlockExtensionPurchaseDate
CapacityBlockExtension.Builder capacityBlockExtensionPurchaseDate(Instant capacityBlockExtensionPurchaseDate) The date when the Capacity Block extension was purchased.
- Parameters:
capacityBlockExtensionPurchaseDate
- The date when the Capacity Block extension was purchased.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensionStartDate
CapacityBlockExtension.Builder capacityBlockExtensionStartDate(Instant capacityBlockExtensionStartDate) The start date of the Capacity Block extension.
- Parameters:
capacityBlockExtensionStartDate
- The start date of the Capacity Block extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensionEndDate
The end date of the Capacity Block extension.
- Parameters:
capacityBlockExtensionEndDate
- The end date of the Capacity Block extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontFee
The total price to be paid up front.
- Parameters:
upfrontFee
- The total price to be paid up front.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency of the payment for the Capacity Block extension.
- Parameters:
currencyCode
- The currency of the payment for the Capacity Block extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-