public static interface ReservedInstance.Builder extends SdkPojo, CopyableBuilder<ReservedInstance.Builder,ReservedInstance>
Modifier and Type | Method and Description |
---|---|
ReservedInstance.Builder |
billingSubscriptionId(Long billingSubscriptionId)
The unique identifier of the billing subscription.
|
ReservedInstance.Builder |
currencyCode(String currencyCode)
The currency code for the offering.
|
ReservedInstance.Builder |
duration(Integer duration)
The duration, in seconds, for which the OpenSearch instance is reserved.
|
ReservedInstance.Builder |
fixedPrice(Double fixedPrice)
The upfront fixed charge you will paid to purchase the specific Reserved Instance offering.
|
ReservedInstance.Builder |
instanceCount(Integer instanceCount)
The number of OpenSearch instances that have been reserved.
|
ReservedInstance.Builder |
instanceType(OpenSearchPartitionInstanceType instanceType)
The OpenSearch instance type offered by theReserved Instance offering.
|
ReservedInstance.Builder |
instanceType(String instanceType)
The OpenSearch instance type offered by theReserved Instance offering.
|
ReservedInstance.Builder |
paymentOption(ReservedInstancePaymentOption paymentOption)
The payment option as defined in the Reserved Instance offering.
|
ReservedInstance.Builder |
paymentOption(String paymentOption)
The payment option as defined in the Reserved Instance offering.
|
ReservedInstance.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge to your account, regardless of whether you create any domains using the Reserved
Instance offering.
|
ReservedInstance.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring charge to your account, regardless of whether you create any domains using the Reserved
Instance offering.
|
ReservedInstance.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The recurring charge to your account, regardless of whether you create any domains using the Reserved
Instance offering.
|
ReservedInstance.Builder |
reservationName(String reservationName)
The customer-specified identifier to track this reservation.
|
ReservedInstance.Builder |
reservedInstanceId(String reservedInstanceId)
The unique identifier for the reservation.
|
ReservedInstance.Builder |
reservedInstanceOfferingId(String reservedInstanceOfferingId)
The unique identifier of the Reserved Instance offering.
|
ReservedInstance.Builder |
startTime(Instant startTime)
The date and time when the reservation was purchased.
|
ReservedInstance.Builder |
state(String state)
The state of the Reserved Instance.
|
ReservedInstance.Builder |
usagePrice(Double usagePrice)
The hourly rate at which you're charged for the domain using this Reserved Instance.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ReservedInstance.Builder reservationName(String reservationName)
The customer-specified identifier to track this reservation.
reservationName
- The customer-specified identifier to track this reservation.ReservedInstance.Builder reservedInstanceId(String reservedInstanceId)
The unique identifier for the reservation.
reservedInstanceId
- The unique identifier for the reservation.ReservedInstance.Builder billingSubscriptionId(Long billingSubscriptionId)
The unique identifier of the billing subscription.
billingSubscriptionId
- The unique identifier of the billing subscription.ReservedInstance.Builder reservedInstanceOfferingId(String reservedInstanceOfferingId)
The unique identifier of the Reserved Instance offering.
reservedInstanceOfferingId
- The unique identifier of the Reserved Instance offering.ReservedInstance.Builder instanceType(String instanceType)
The OpenSearch instance type offered by theReserved Instance offering.
instanceType
- The OpenSearch instance type offered by theReserved Instance offering.OpenSearchPartitionInstanceType
,
OpenSearchPartitionInstanceType
ReservedInstance.Builder instanceType(OpenSearchPartitionInstanceType instanceType)
The OpenSearch instance type offered by theReserved Instance offering.
instanceType
- The OpenSearch instance type offered by theReserved Instance offering.OpenSearchPartitionInstanceType
,
OpenSearchPartitionInstanceType
ReservedInstance.Builder startTime(Instant startTime)
The date and time when the reservation was purchased.
startTime
- The date and time when the reservation was purchased.ReservedInstance.Builder duration(Integer duration)
The duration, in seconds, for which the OpenSearch instance is reserved.
duration
- The duration, in seconds, for which the OpenSearch instance is reserved.ReservedInstance.Builder fixedPrice(Double fixedPrice)
The upfront fixed charge you will paid to purchase the specific Reserved Instance offering.
fixedPrice
- The upfront fixed charge you will paid to purchase the specific Reserved Instance offering.ReservedInstance.Builder usagePrice(Double usagePrice)
The hourly rate at which you're charged for the domain using this Reserved Instance.
usagePrice
- The hourly rate at which you're charged for the domain using this Reserved Instance.ReservedInstance.Builder currencyCode(String currencyCode)
The currency code for the offering.
currencyCode
- The currency code for the offering.ReservedInstance.Builder instanceCount(Integer instanceCount)
The number of OpenSearch instances that have been reserved.
instanceCount
- The number of OpenSearch instances that have been reserved.ReservedInstance.Builder state(String state)
The state of the Reserved Instance.
state
- The state of the Reserved Instance.ReservedInstance.Builder paymentOption(String paymentOption)
The payment option as defined in the Reserved Instance offering.
paymentOption
- The payment option as defined in the Reserved Instance offering.ReservedInstancePaymentOption
,
ReservedInstancePaymentOption
ReservedInstance.Builder paymentOption(ReservedInstancePaymentOption paymentOption)
The payment option as defined in the Reserved Instance offering.
paymentOption
- The payment option as defined in the Reserved Instance offering.ReservedInstancePaymentOption
,
ReservedInstancePaymentOption
ReservedInstance.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.
recurringCharges
- The recurring charge to your account, regardless of whether you create any domains using the Reserved
Instance offering.ReservedInstance.Builder recurringCharges(RecurringCharge... recurringCharges)
The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.
recurringCharges
- The recurring charge to your account, regardless of whether you create any domains using the Reserved
Instance offering.ReservedInstance.Builder recurringCharges(Consumer<RecurringCharge.Builder>... 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 via RecurringCharge.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #recurringCharges(List
.
recurringCharges
- a consumer that will call methods on
RecurringCharge.Builder
#recurringCharges(java.util.Collection)
Copyright © 2022. All rights reserved.