@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservedElasticsearchInstance extends Object implements Serializable, Cloneable, StructuredPojo
Details of a reserved Elasticsearch instance.
Constructor and Description |
---|
ReservedElasticsearchInstance() |
Modifier and Type | Method and Description |
---|---|
ReservedElasticsearchInstance |
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 Elasticsearch instance is reserved.
|
Integer |
getElasticsearchInstanceCount()
The number of Elasticsearch instances that have been reserved.
|
String |
getElasticsearchInstanceType()
The Elasticsearch instance type offered by the reserved instance offering.
|
Double |
getFixedPrice()
The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
|
String |
getPaymentOption()
The payment option as defined in 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 |
getReservationName()
The customer-specified identifier to track this reservation.
|
String |
getReservedElasticsearchInstanceId()
The unique identifier for the reservation.
|
String |
getReservedElasticsearchInstanceOfferingId()
The offering identifier.
|
Date |
getStartTime()
The time the reservation started.
|
String |
getState()
The state of the reserved Elasticsearch instance.
|
Double |
getUsagePrice()
The rate you are charged for each hour for the domain that is using this reserved instance.
|
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 Elasticsearch instance is reserved.
|
void |
setElasticsearchInstanceCount(Integer elasticsearchInstanceCount)
The number of Elasticsearch instances that have been reserved.
|
void |
setElasticsearchInstanceType(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
void |
setFixedPrice(Double fixedPrice)
The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
|
void |
setPaymentOption(String paymentOption)
The payment option as defined in 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 |
setReservationName(String reservationName)
The customer-specified identifier to track this reservation.
|
void |
setReservedElasticsearchInstanceId(String reservedElasticsearchInstanceId)
The unique identifier for the reservation.
|
void |
setReservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The offering identifier.
|
void |
setStartTime(Date startTime)
The time the reservation started.
|
void |
setState(String state)
The state of the reserved Elasticsearch instance.
|
void |
setUsagePrice(Double usagePrice)
The rate you are charged for each hour for the domain that is using this reserved instance.
|
String |
toString()
Returns a string representation of this object.
|
ReservedElasticsearchInstance |
withCurrencyCode(String currencyCode)
The currency code for the reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstance |
withDuration(Integer duration)
The duration, in seconds, for which the Elasticsearch instance is reserved.
|
ReservedElasticsearchInstance |
withElasticsearchInstanceCount(Integer elasticsearchInstanceCount)
The number of Elasticsearch instances that have been reserved.
|
ReservedElasticsearchInstance |
withElasticsearchInstanceType(ESPartitionInstanceType elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
ReservedElasticsearchInstance |
withElasticsearchInstanceType(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
ReservedElasticsearchInstance |
withFixedPrice(Double fixedPrice)
The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstance |
withPaymentOption(ReservedElasticsearchInstancePaymentOption paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstance |
withPaymentOption(String paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstance |
withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstance |
withRecurringCharges(RecurringCharge... recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstance |
withReservationName(String reservationName)
The customer-specified identifier to track this reservation.
|
ReservedElasticsearchInstance |
withReservedElasticsearchInstanceId(String reservedElasticsearchInstanceId)
The unique identifier for the reservation.
|
ReservedElasticsearchInstance |
withReservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The offering identifier.
|
ReservedElasticsearchInstance |
withStartTime(Date startTime)
The time the reservation started.
|
ReservedElasticsearchInstance |
withState(String state)
The state of the reserved Elasticsearch instance.
|
ReservedElasticsearchInstance |
withUsagePrice(Double usagePrice)
The rate you are charged for each hour for the domain that is using this reserved instance.
|
public void setReservationName(String reservationName)
The customer-specified identifier to track this reservation.
reservationName
- The customer-specified identifier to track this reservation.public String getReservationName()
The customer-specified identifier to track this reservation.
public ReservedElasticsearchInstance withReservationName(String reservationName)
The customer-specified identifier to track this reservation.
reservationName
- The customer-specified identifier to track this reservation.public void setReservedElasticsearchInstanceId(String reservedElasticsearchInstanceId)
The unique identifier for the reservation.
reservedElasticsearchInstanceId
- The unique identifier for the reservation.public String getReservedElasticsearchInstanceId()
The unique identifier for the reservation.
public ReservedElasticsearchInstance withReservedElasticsearchInstanceId(String reservedElasticsearchInstanceId)
The unique identifier for the reservation.
reservedElasticsearchInstanceId
- The unique identifier for the reservation.public void setReservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The offering identifier.
reservedElasticsearchInstanceOfferingId
- The offering identifier.public String getReservedElasticsearchInstanceOfferingId()
The offering identifier.
public ReservedElasticsearchInstance withReservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The offering identifier.
reservedElasticsearchInstanceOfferingId
- The 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 ReservedElasticsearchInstance 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 ReservedElasticsearchInstance 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 setStartTime(Date startTime)
The time the reservation started.
startTime
- The time the reservation started.public Date getStartTime()
The time the reservation started.
public ReservedElasticsearchInstance withStartTime(Date startTime)
The time the reservation started.
startTime
- The time the reservation started.public void setDuration(Integer duration)
The duration, in seconds, for which the Elasticsearch instance is reserved.
duration
- The duration, in seconds, for which the Elasticsearch instance is reserved.public Integer getDuration()
The duration, in seconds, for which the Elasticsearch instance is reserved.
public ReservedElasticsearchInstance withDuration(Integer duration)
The duration, in seconds, for which the Elasticsearch instance is reserved.
duration
- The duration, in seconds, for which the Elasticsearch instance is reserved.public void setFixedPrice(Double fixedPrice)
The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
fixedPrice
- The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.public Double getFixedPrice()
The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
public ReservedElasticsearchInstance withFixedPrice(Double fixedPrice)
The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
fixedPrice
- The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.public void setUsagePrice(Double usagePrice)
The rate you are charged for each hour for the domain that is using this reserved instance.
usagePrice
- The rate you are charged for each hour for the domain that is using this reserved instance.public Double getUsagePrice()
The rate you are charged for each hour for the domain that is using this reserved instance.
public ReservedElasticsearchInstance withUsagePrice(Double usagePrice)
The rate you are charged for each hour for the domain that is using this reserved instance.
usagePrice
- The rate you are charged for each hour for the domain that is using this reserved instance.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 ReservedElasticsearchInstance withCurrencyCode(String currencyCode)
The currency code for the reserved Elasticsearch instance offering.
currencyCode
- The currency code for the reserved Elasticsearch instance offering.public void setElasticsearchInstanceCount(Integer elasticsearchInstanceCount)
The number of Elasticsearch instances that have been reserved.
elasticsearchInstanceCount
- The number of Elasticsearch instances that have been reserved.public Integer getElasticsearchInstanceCount()
The number of Elasticsearch instances that have been reserved.
public ReservedElasticsearchInstance withElasticsearchInstanceCount(Integer elasticsearchInstanceCount)
The number of Elasticsearch instances that have been reserved.
elasticsearchInstanceCount
- The number of Elasticsearch instances that have been reserved.public void setState(String state)
The state of the reserved Elasticsearch instance.
state
- The state of the reserved Elasticsearch instance.public String getState()
The state of the reserved Elasticsearch instance.
public ReservedElasticsearchInstance withState(String state)
The state of the reserved Elasticsearch instance.
state
- The state of the reserved Elasticsearch instance.public void setPaymentOption(String paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.
paymentOption
- The payment option as defined in the reserved Elasticsearch instance offering.ReservedElasticsearchInstancePaymentOption
public String getPaymentOption()
The payment option as defined in the reserved Elasticsearch instance offering.
ReservedElasticsearchInstancePaymentOption
public ReservedElasticsearchInstance withPaymentOption(String paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.
paymentOption
- The payment option as defined in the reserved Elasticsearch instance offering.ReservedElasticsearchInstancePaymentOption
public ReservedElasticsearchInstance withPaymentOption(ReservedElasticsearchInstancePaymentOption paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.
paymentOption
- The payment option as defined in the reserved Elasticsearch instance offering.ReservedElasticsearchInstancePaymentOption
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 ReservedElasticsearchInstance 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 ReservedElasticsearchInstance 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 ReservedElasticsearchInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.