Interface ReservedInstance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedInstance.Builder,
,ReservedInstance> SdkBuilder<ReservedInstance.Builder,
,ReservedInstance> SdkPojo
- Enclosing class:
ReservedInstance
-
Method Summary
Modifier and TypeMethodDescriptionbillingSubscriptionId
(Long billingSubscriptionId) The unique identifier of the billing subscription.currencyCode
(String currencyCode) The currency code for the offering.The duration, in seconds, for which the OpenSearch instance is reserved.fixedPrice
(Double fixedPrice) The upfront fixed charge you will paid to purchase the specific Reserved Instance offering.instanceCount
(Integer instanceCount) The number of OpenSearch instances that have been reserved.instanceType
(String instanceType) The OpenSearch instance type offered by theReserved Instance offering.instanceType
(OpenSearchPartitionInstanceType instanceType) The OpenSearch instance type offered by theReserved Instance offering.paymentOption
(String paymentOption) The payment option as defined in the Reserved Instance offering.paymentOption
(ReservedInstancePaymentOption paymentOption) The payment option as defined in the Reserved Instance offering.recurringCharges
(Collection<RecurringCharge> recurringCharges) The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.recurringCharges
(Consumer<RecurringCharge.Builder>... recurringCharges) The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.recurringCharges
(RecurringCharge... recurringCharges) The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.reservationName
(String reservationName) The customer-specified identifier to track this reservation.reservedInstanceId
(String reservedInstanceId) The unique identifier for the reservation.reservedInstanceOfferingId
(String reservedInstanceOfferingId) The unique identifier of the Reserved Instance offering.The date and time when the reservation was purchased.The state of the Reserved Instance.usagePrice
(Double usagePrice) The hourly rate at which you're charged for the domain using this Reserved Instance.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 Details
-
reservationName
The customer-specified identifier to track this reservation.
- Parameters:
reservationName
- The customer-specified identifier to track this reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedInstanceId
The unique identifier for the reservation.
- Parameters:
reservedInstanceId
- The unique identifier for the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingSubscriptionId
The unique identifier of the billing subscription.
- Parameters:
billingSubscriptionId
- The unique identifier of the billing subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedInstanceOfferingId
The unique identifier of the Reserved Instance offering.
- Parameters:
reservedInstanceOfferingId
- The unique identifier of the Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The OpenSearch instance type offered by theReserved Instance offering.
- Parameters:
instanceType
- The OpenSearch instance type offered by theReserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The OpenSearch instance type offered by theReserved Instance offering.
- Parameters:
instanceType
- The OpenSearch instance type offered by theReserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The date and time when the reservation was purchased.
- Parameters:
startTime
- The date and time when the reservation was purchased.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
The duration, in seconds, for which the OpenSearch instance is reserved.
- Parameters:
duration
- The duration, in seconds, for which the OpenSearch instance is reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixedPrice
The upfront fixed charge you will paid to purchase the specific Reserved Instance offering.
- Parameters:
fixedPrice
- The upfront fixed charge you will paid to purchase the specific Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usagePrice
The hourly rate at which you're charged for the domain using this Reserved Instance.
- Parameters:
usagePrice
- The hourly rate at which you're charged for the domain using this Reserved Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency code for the offering.
- Parameters:
currencyCode
- The currency code for the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCount
The number of OpenSearch instances that have been reserved.
- Parameters:
instanceCount
- The number of OpenSearch instances that have been reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the Reserved Instance.
- Parameters:
state
- The state of the Reserved Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentOption
The payment option as defined in the Reserved Instance offering.
- Parameters:
paymentOption
- The payment option as defined in the Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
The payment option as defined in the Reserved Instance offering.
- Parameters:
paymentOption
- The payment option as defined in the Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recurringCharges
The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.
- Parameters:
recurringCharges
- The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.
- Parameters:
recurringCharges
- The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.
This is a convenience method that creates an instance of theRecurringCharge.Builder
avoiding the need to create one manually viaRecurringCharge.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecurringCharges(List<RecurringCharge>)
.- Parameters:
recurringCharges
- a consumer that will call methods onRecurringCharge.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-