Interface CapacityBlockExtensionOffering.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityBlockExtensionOffering.Builder,
,CapacityBlockExtensionOffering> SdkBuilder<CapacityBlockExtensionOffering.Builder,
,CapacityBlockExtensionOffering> SdkPojo
- Enclosing class:
CapacityBlockExtensionOffering
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone of the Capacity Block that will be extended.availabilityZoneId
(String availabilityZoneId) The Availability Zone ID of the Capacity Block that will be extended.capacityBlockExtensionDurationHours
(Integer capacityBlockExtensionDurationHours) The amount of time of the Capacity Block extension offering in hours.capacityBlockExtensionEndDate
(Instant capacityBlockExtensionEndDate) The date and time at which the Capacity Block extension expires.capacityBlockExtensionOfferingId
(String capacityBlockExtensionOfferingId) The ID of the Capacity Block extension offering.capacityBlockExtensionStartDate
(Instant capacityBlockExtensionStartDate) The date and time at which the Capacity Block extension will start.currencyCode
(String currencyCode) The currency of the payment for the Capacity Block extension offering.instanceCount
(Integer instanceCount) The number of instances in the Capacity Block extension offering.instanceType
(String instanceType) The instance type of the Capacity Block that will be extended.The start date of the Capacity Block that will be extended.Indicates the tenancy of the Capacity Block extension offering.tenancy
(CapacityReservationTenancy tenancy) Indicates the tenancy of the Capacity Block extension offering.upfrontFee
(String upfrontFee) The total price of the Capacity Block extension offering, 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
-
capacityBlockExtensionOfferingId
CapacityBlockExtensionOffering.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.
-
instanceType
The instance type of the Capacity Block that will be extended.
- Parameters:
instanceType
- The instance type of the Capacity Block that will be extended.- 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 offering.
- Parameters:
instanceCount
- The number of instances in the Capacity Block extension offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the Capacity Block that will be extended.
- Parameters:
availabilityZone
- The Availability Zone of the Capacity Block that will be extended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The Availability Zone ID of the Capacity Block that will be extended.
- Parameters:
availabilityZoneId
- The Availability Zone ID of the Capacity Block that will be extended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
The start date of the Capacity Block that will be extended.
- Parameters:
startDate
- The start date of the Capacity Block that will be extended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensionStartDate
CapacityBlockExtensionOffering.Builder capacityBlockExtensionStartDate(Instant capacityBlockExtensionStartDate) The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.
- Parameters:
capacityBlockExtensionStartDate
- The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensionEndDate
CapacityBlockExtensionOffering.Builder capacityBlockExtensionEndDate(Instant capacityBlockExtensionEndDate) The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state changes to
expired
when it reaches its end date- Parameters:
capacityBlockExtensionEndDate
- The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state changes toexpired
when it reaches its end date- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensionDurationHours
CapacityBlockExtensionOffering.Builder capacityBlockExtensionDurationHours(Integer capacityBlockExtensionDurationHours) The amount of time of the Capacity Block extension offering in hours.
- Parameters:
capacityBlockExtensionDurationHours
- The amount of time of the Capacity Block extension offering in hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontFee
The total price of the Capacity Block extension offering, to be paid up front.
- Parameters:
upfrontFee
- The total price of the Capacity Block extension offering, 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 offering.
- Parameters:
currencyCode
- The currency of the payment for the Capacity Block extension offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancy
Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:
-
default
- The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts. -
dedicated
- The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
- Parameters:
tenancy
- Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:-
default
- The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts. -
dedicated
- The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
tenancy
Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:
-
default
- The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts. -
dedicated
- The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
- Parameters:
tenancy
- Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:-
default
- The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts. -
dedicated
- The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-