Interface CapacityBlockExtension.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityBlockExtension.Builder,CapacityBlockExtension>,SdkBuilder<CapacityBlockExtension.Builder,CapacityBlockExtension>,SdkPojo
- Enclosing class:
- CapacityBlockExtension
public static interface CapacityBlockExtension.Builder extends SdkPojo, CopyableBuilder<CapacityBlockExtension.Builder,CapacityBlockExtension>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityBlockExtension.BuilderavailabilityZone(String availabilityZone)The Availability Zone of the Capacity Block extension.CapacityBlockExtension.BuilderavailabilityZoneId(String availabilityZoneId)The Availability Zone ID of the Capacity Block extension.CapacityBlockExtension.BuildercapacityBlockExtensionDurationHours(Integer capacityBlockExtensionDurationHours)The duration of the Capacity Block extension in hours.CapacityBlockExtension.BuildercapacityBlockExtensionEndDate(Instant capacityBlockExtensionEndDate)The end date of the Capacity Block extension.CapacityBlockExtension.BuildercapacityBlockExtensionOfferingId(String capacityBlockExtensionOfferingId)The ID of the Capacity Block extension offering.CapacityBlockExtension.BuildercapacityBlockExtensionPurchaseDate(Instant capacityBlockExtensionPurchaseDate)The date when the Capacity Block extension was purchased.CapacityBlockExtension.BuildercapacityBlockExtensionStartDate(Instant capacityBlockExtensionStartDate)The start date of the Capacity Block extension.CapacityBlockExtension.BuildercapacityBlockExtensionStatus(String capacityBlockExtensionStatus)The status of the Capacity Block extension.CapacityBlockExtension.BuildercapacityBlockExtensionStatus(CapacityBlockExtensionStatus capacityBlockExtensionStatus)The status of the Capacity Block extension.CapacityBlockExtension.BuildercapacityReservationId(String capacityReservationId)The reservation ID of the Capacity Block extension.CapacityBlockExtension.BuildercurrencyCode(String currencyCode)The currency of the payment for the Capacity Block extension.CapacityBlockExtension.BuilderinstanceCount(Integer instanceCount)The number of instances in the Capacity Block extension.CapacityBlockExtension.BuilderinstanceType(String instanceType)The instance type of the Capacity Block extension.CapacityBlockExtension.BuilderupfrontFee(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 Detail
-
capacityReservationId
CapacityBlockExtension.Builder capacityReservationId(String 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
CapacityBlockExtension.Builder instanceType(String 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
CapacityBlockExtension.Builder instanceCount(Integer 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
CapacityBlockExtension.Builder availabilityZone(String 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
CapacityBlockExtension.Builder availabilityZoneId(String 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
CapacityBlockExtension.Builder capacityBlockExtensionStatus(String 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,CapacityBlockExtensionStatus
-
-
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:
CapacityBlockExtensionStatus,CapacityBlockExtensionStatus
-
-
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
CapacityBlockExtension.Builder capacityBlockExtensionEndDate(Instant 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
CapacityBlockExtension.Builder upfrontFee(String 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
CapacityBlockExtension.Builder currencyCode(String 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.
-
-