@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservedInstanceOffering extends Object implements Serializable, Cloneable, StructuredPojo
Details of a reserved OpenSearch instance offering.
| Constructor and Description |
|---|
ReservedInstanceOffering() |
| Modifier and Type | Method and Description |
|---|---|
ReservedInstanceOffering |
clone() |
boolean |
equals(Object obj) |
String |
getCurrencyCode()
The currency code for the reserved OpenSearch instance offering.
|
Integer |
getDuration()
The duration, in seconds, for which the offering will reserve the OpenSearch instance.
|
Double |
getFixedPrice()
The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.
|
String |
getInstanceType()
The OpenSearch instance type offered by the reserved instance offering.
|
String |
getPaymentOption()
Payment option for the reserved OpenSearch instance offering
|
List<RecurringCharge> |
getRecurringCharges()
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
String |
getReservedInstanceOfferingId()
The OpenSearch reserved instance offering identifier.
|
Double |
getUsagePrice()
The rate you are charged for each hour the domain that is using the offering is running.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCurrencyCode(String currencyCode)
The currency code for the reserved OpenSearch instance offering.
|
void |
setDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the OpenSearch instance.
|
void |
setFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.
|
void |
setInstanceType(String instanceType)
The OpenSearch instance type offered by the reserved instance offering.
|
void |
setPaymentOption(String paymentOption)
Payment option for the reserved OpenSearch instance offering
|
void |
setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
void |
setReservedInstanceOfferingId(String reservedInstanceOfferingId)
The OpenSearch reserved instance offering identifier.
|
void |
setUsagePrice(Double usagePrice)
The rate you are charged for each hour the domain that is using the offering is running.
|
String |
toString()
Returns a string representation of this object.
|
ReservedInstanceOffering |
withCurrencyCode(String currencyCode)
The currency code for the reserved OpenSearch instance offering.
|
ReservedInstanceOffering |
withDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the OpenSearch instance.
|
ReservedInstanceOffering |
withFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.
|
ReservedInstanceOffering |
withInstanceType(OpenSearchPartitionInstanceType instanceType)
The OpenSearch instance type offered by the reserved instance offering.
|
ReservedInstanceOffering |
withInstanceType(String instanceType)
The OpenSearch instance type offered by the reserved instance offering.
|
ReservedInstanceOffering |
withPaymentOption(ReservedInstancePaymentOption paymentOption)
Payment option for the reserved OpenSearch instance offering
|
ReservedInstanceOffering |
withPaymentOption(String paymentOption)
Payment option for the reserved OpenSearch instance offering
|
ReservedInstanceOffering |
withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedInstanceOffering |
withRecurringCharges(RecurringCharge... recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedInstanceOffering |
withReservedInstanceOfferingId(String reservedInstanceOfferingId)
The OpenSearch reserved instance offering identifier.
|
ReservedInstanceOffering |
withUsagePrice(Double usagePrice)
The rate you are charged for each hour the domain that is using the offering is running.
|
public void setReservedInstanceOfferingId(String reservedInstanceOfferingId)
The OpenSearch reserved instance offering identifier.
reservedInstanceOfferingId - The OpenSearch reserved instance offering identifier.public String getReservedInstanceOfferingId()
The OpenSearch reserved instance offering identifier.
public ReservedInstanceOffering withReservedInstanceOfferingId(String reservedInstanceOfferingId)
The OpenSearch reserved instance offering identifier.
reservedInstanceOfferingId - The OpenSearch reserved instance offering identifier.public void setInstanceType(String instanceType)
The OpenSearch instance type offered by the reserved instance offering.
instanceType - The OpenSearch instance type offered by the reserved instance offering.OpenSearchPartitionInstanceTypepublic String getInstanceType()
The OpenSearch instance type offered by the reserved instance offering.
OpenSearchPartitionInstanceTypepublic ReservedInstanceOffering withInstanceType(String instanceType)
The OpenSearch instance type offered by the reserved instance offering.
instanceType - The OpenSearch instance type offered by the reserved instance offering.OpenSearchPartitionInstanceTypepublic ReservedInstanceOffering withInstanceType(OpenSearchPartitionInstanceType instanceType)
The OpenSearch instance type offered by the reserved instance offering.
instanceType - The OpenSearch instance type offered by the reserved instance offering.OpenSearchPartitionInstanceTypepublic void setDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the OpenSearch instance.
duration - The duration, in seconds, for which the offering will reserve the OpenSearch instance.public Integer getDuration()
The duration, in seconds, for which the offering will reserve the OpenSearch instance.
public ReservedInstanceOffering withDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the OpenSearch instance.
duration - The duration, in seconds, for which the offering will reserve the OpenSearch instance.public void setFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.
fixedPrice - The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.public Double getFixedPrice()
The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.
public ReservedInstanceOffering withFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.
fixedPrice - The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.public void setUsagePrice(Double usagePrice)
The rate you are charged for each hour the domain that is using the offering is running.
usagePrice - The rate you are charged for each hour the domain that is using the offering is running.public Double getUsagePrice()
The rate you are charged for each hour the domain that is using the offering is running.
public ReservedInstanceOffering withUsagePrice(Double usagePrice)
The rate you are charged for each hour the domain that is using the offering is running.
usagePrice - The rate you are charged for each hour the domain that is using the offering is running.public void setCurrencyCode(String currencyCode)
The currency code for the reserved OpenSearch instance offering.
currencyCode - The currency code for the reserved OpenSearch instance offering.public String getCurrencyCode()
The currency code for the reserved OpenSearch instance offering.
public ReservedInstanceOffering withCurrencyCode(String currencyCode)
The currency code for the reserved OpenSearch instance offering.
currencyCode - The currency code for the reserved OpenSearch instance offering.public void setPaymentOption(String paymentOption)
Payment option for the reserved OpenSearch instance offering
paymentOption - Payment option for the reserved OpenSearch instance offeringReservedInstancePaymentOptionpublic String getPaymentOption()
Payment option for the reserved OpenSearch instance offering
ReservedInstancePaymentOptionpublic ReservedInstanceOffering withPaymentOption(String paymentOption)
Payment option for the reserved OpenSearch instance offering
paymentOption - Payment option for the reserved OpenSearch instance offeringReservedInstancePaymentOptionpublic ReservedInstanceOffering withPaymentOption(ReservedInstancePaymentOption paymentOption)
Payment option for the reserved OpenSearch instance offering
paymentOption - Payment option for the reserved OpenSearch instance offeringReservedInstancePaymentOptionpublic List<RecurringCharge> getRecurringCharges()
The charge to your account regardless of whether you are creating any domains using the instance offering.
public void setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
recurringCharges - The charge to your account regardless of whether you are creating any domains using the instance offering.public ReservedInstanceOffering withRecurringCharges(RecurringCharge... recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
NOTE: This method appends the values to the existing list (if any). Use
setRecurringCharges(java.util.Collection) or withRecurringCharges(java.util.Collection) if you
want to override the existing values.
recurringCharges - The charge to your account regardless of whether you are creating any domains using the instance offering.public ReservedInstanceOffering withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
recurringCharges - The charge to your account regardless of whether you are creating any domains using the instance offering.public String toString()
toString in class ObjectObject.toString()public ReservedInstanceOffering clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.