@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservedElasticsearchInstanceOffering extends Object implements Serializable, Cloneable, StructuredPojo
Details of a reserved Elasticsearch instance offering.
Constructor and Description |
---|
ReservedElasticsearchInstanceOffering() |
Modifier and Type | Method and Description |
---|---|
ReservedElasticsearchInstanceOffering |
clone() |
boolean |
equals(Object obj) |
String |
getCurrencyCode()
The currency code for the reserved Elasticsearch instance offering.
|
Integer |
getDuration()
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
|
String |
getElasticsearchInstanceType()
The Elasticsearch instance type offered by the reserved instance offering.
|
Double |
getFixedPrice()
The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
|
String |
getPaymentOption()
Payment option for the reserved Elasticsearch instance offering
|
List<RecurringCharge> |
getRecurringCharges()
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
String |
getReservedElasticsearchInstanceOfferingId()
The Elasticsearch 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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrencyCode(String currencyCode)
The currency code for the reserved Elasticsearch instance offering.
|
void |
setDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
|
void |
setElasticsearchInstanceType(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
void |
setFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
|
void |
setPaymentOption(String paymentOption)
Payment option for the reserved Elasticsearch 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 |
setReservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The Elasticsearch 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.
|
ReservedElasticsearchInstanceOffering |
withCurrencyCode(String currencyCode)
The currency code for the reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstanceOffering |
withDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
|
ReservedElasticsearchInstanceOffering |
withElasticsearchInstanceType(ESPartitionInstanceType elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
ReservedElasticsearchInstanceOffering |
withElasticsearchInstanceType(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
ReservedElasticsearchInstanceOffering |
withFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstanceOffering |
withPaymentOption(ReservedElasticsearchInstancePaymentOption paymentOption)
Payment option for the reserved Elasticsearch instance offering
|
ReservedElasticsearchInstanceOffering |
withPaymentOption(String paymentOption)
Payment option for the reserved Elasticsearch instance offering
|
ReservedElasticsearchInstanceOffering |
withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstanceOffering |
withRecurringCharges(RecurringCharge... recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstanceOffering |
withReservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The Elasticsearch reserved instance offering identifier.
|
ReservedElasticsearchInstanceOffering |
withUsagePrice(Double usagePrice)
The rate you are charged for each hour the domain that is using the offering is running.
|
public ReservedElasticsearchInstanceOffering()
public void setReservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The Elasticsearch reserved instance offering identifier.
reservedElasticsearchInstanceOfferingId
- The Elasticsearch reserved instance offering identifier.public String getReservedElasticsearchInstanceOfferingId()
The Elasticsearch reserved instance offering identifier.
public ReservedElasticsearchInstanceOffering withReservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The Elasticsearch reserved instance offering identifier.
reservedElasticsearchInstanceOfferingId
- The Elasticsearch reserved instance offering identifier.public void setElasticsearchInstanceType(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
elasticsearchInstanceType
- The Elasticsearch instance type offered by the reserved instance offering.ESPartitionInstanceType
public String getElasticsearchInstanceType()
The Elasticsearch instance type offered by the reserved instance offering.
ESPartitionInstanceType
public ReservedElasticsearchInstanceOffering withElasticsearchInstanceType(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
elasticsearchInstanceType
- The Elasticsearch instance type offered by the reserved instance offering.ESPartitionInstanceType
public ReservedElasticsearchInstanceOffering withElasticsearchInstanceType(ESPartitionInstanceType elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
elasticsearchInstanceType
- The Elasticsearch instance type offered by the reserved instance offering.ESPartitionInstanceType
public void setDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
duration
- The duration, in seconds, for which the offering will reserve the Elasticsearch instance.public Integer getDuration()
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
public ReservedElasticsearchInstanceOffering withDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
duration
- The duration, in seconds, for which the offering will reserve the Elasticsearch instance.public void setFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
fixedPrice
- The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.public Double getFixedPrice()
The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
public ReservedElasticsearchInstanceOffering withFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
fixedPrice
- The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch 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 ReservedElasticsearchInstanceOffering 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 Elasticsearch instance offering.
currencyCode
- The currency code for the reserved Elasticsearch instance offering.public String getCurrencyCode()
The currency code for the reserved Elasticsearch instance offering.
public ReservedElasticsearchInstanceOffering withCurrencyCode(String currencyCode)
The currency code for the reserved Elasticsearch instance offering.
currencyCode
- The currency code for the reserved Elasticsearch instance offering.public void setPaymentOption(String paymentOption)
Payment option for the reserved Elasticsearch instance offering
paymentOption
- Payment option for the reserved Elasticsearch instance offeringReservedElasticsearchInstancePaymentOption
public String getPaymentOption()
Payment option for the reserved Elasticsearch instance offering
ReservedElasticsearchInstancePaymentOption
public ReservedElasticsearchInstanceOffering withPaymentOption(String paymentOption)
Payment option for the reserved Elasticsearch instance offering
paymentOption
- Payment option for the reserved Elasticsearch instance offeringReservedElasticsearchInstancePaymentOption
public ReservedElasticsearchInstanceOffering withPaymentOption(ReservedElasticsearchInstancePaymentOption paymentOption)
Payment option for the reserved Elasticsearch instance offering
paymentOption
- Payment option for the reserved Elasticsearch instance offeringReservedElasticsearchInstancePaymentOption
public 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 ReservedElasticsearchInstanceOffering 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 ReservedElasticsearchInstanceOffering 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 Object
Object.toString()
public ReservedElasticsearchInstanceOffering clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.