public class ReservedDBInstance
extends java.lang.Object
implements java.io.Serializable
This data type is used as a response element in the DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering actions.
| コンストラクタと説明 |
|---|
ReservedDBInstance() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCurrencyCode()
The currency code for the reserved DB Instance.
|
java.lang.String |
getDBInstanceClass()
The DB instance class for the reserved DB Instance.
|
java.lang.Integer |
getDBInstanceCount()
The number of reserved DB Instances.
|
java.lang.Integer |
getDuration()
The duration of the reservation in seconds.
|
java.lang.Double |
getFixedPrice()
The fixed price charged for this reserved DB Instance.
|
java.lang.Boolean |
getMultiAZ()
Indicates if the reservation applies to Multi-AZ deployments.
|
java.lang.String |
getOfferingType()
The offering type of this reserved DB Instance.
|
java.lang.String |
getProductDescription()
The description of the reserved DB Instance.
|
java.util.List<RecurringCharge> |
getRecurringCharges()
The recurring price charged to run this reserved DB Instance.
|
java.lang.String |
getReservedDBInstanceId()
The unique identifier for the reservation.
|
java.lang.String |
getReservedDBInstancesOfferingId()
The offering identifier.
|
java.util.Date |
getStartTime()
The time the reservation started.
|
java.lang.String |
getState()
The state of the reserved DB Instance.
|
java.lang.Double |
getUsagePrice()
The hourly price charged for this reserved DB Instance.
|
int |
hashCode() |
java.lang.Boolean |
isMultiAZ()
Indicates if the reservation applies to Multi-AZ deployments.
|
void |
setCurrencyCode(java.lang.String currencyCode)
The currency code for the reserved DB Instance.
|
void |
setDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class for the reserved DB Instance.
|
void |
setDBInstanceCount(java.lang.Integer dBInstanceCount)
The number of reserved DB Instances.
|
void |
setDuration(java.lang.Integer duration)
The duration of the reservation in seconds.
|
void |
setFixedPrice(java.lang.Double fixedPrice)
The fixed price charged for this reserved DB Instance.
|
void |
setMultiAZ(java.lang.Boolean multiAZ)
Indicates if the reservation applies to Multi-AZ deployments.
|
void |
setOfferingType(java.lang.String offeringType)
The offering type of this reserved DB Instance.
|
void |
setProductDescription(java.lang.String productDescription)
The description of the reserved DB Instance.
|
void |
setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB Instance.
|
void |
setReservedDBInstanceId(java.lang.String reservedDBInstanceId)
The unique identifier for the reservation.
|
void |
setReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
The offering identifier.
|
void |
setStartTime(java.util.Date startTime)
The time the reservation started.
|
void |
setState(java.lang.String state)
The state of the reserved DB Instance.
|
void |
setUsagePrice(java.lang.Double usagePrice)
The hourly price charged for this reserved DB Instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedDBInstance |
withCurrencyCode(java.lang.String currencyCode)
The currency code for the reserved DB Instance.
|
ReservedDBInstance |
withDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class for the reserved DB Instance.
|
ReservedDBInstance |
withDBInstanceCount(java.lang.Integer dBInstanceCount)
The number of reserved DB Instances.
|
ReservedDBInstance |
withDuration(java.lang.Integer duration)
The duration of the reservation in seconds.
|
ReservedDBInstance |
withFixedPrice(java.lang.Double fixedPrice)
The fixed price charged for this reserved DB Instance.
|
ReservedDBInstance |
withMultiAZ(java.lang.Boolean multiAZ)
Indicates if the reservation applies to Multi-AZ deployments.
|
ReservedDBInstance |
withOfferingType(java.lang.String offeringType)
The offering type of this reserved DB Instance.
|
ReservedDBInstance |
withProductDescription(java.lang.String productDescription)
The description of the reserved DB Instance.
|
ReservedDBInstance |
withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB Instance.
|
ReservedDBInstance |
withRecurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved DB Instance.
|
ReservedDBInstance |
withReservedDBInstanceId(java.lang.String reservedDBInstanceId)
The unique identifier for the reservation.
|
ReservedDBInstance |
withReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
The offering identifier.
|
ReservedDBInstance |
withStartTime(java.util.Date startTime)
The time the reservation started.
|
ReservedDBInstance |
withState(java.lang.String state)
The state of the reserved DB Instance.
|
ReservedDBInstance |
withUsagePrice(java.lang.Double usagePrice)
The hourly price charged for this reserved DB Instance.
|
public java.lang.String getReservedDBInstanceId()
public void setReservedDBInstanceId(java.lang.String reservedDBInstanceId)
reservedDBInstanceId - The unique identifier for the reservation.public ReservedDBInstance withReservedDBInstanceId(java.lang.String reservedDBInstanceId)
Returns a reference to this object so that method calls can be chained together.
reservedDBInstanceId - The unique identifier for the reservation.public java.lang.String getReservedDBInstancesOfferingId()
public void setReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
reservedDBInstancesOfferingId - The offering identifier.public ReservedDBInstance withReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedDBInstancesOfferingId - The offering identifier.public java.lang.String getDBInstanceClass()
public void setDBInstanceClass(java.lang.String dBInstanceClass)
dBInstanceClass - The DB instance class for the reserved DB Instance.public ReservedDBInstance withDBInstanceClass(java.lang.String dBInstanceClass)
Returns a reference to this object so that method calls can be chained together.
dBInstanceClass - The DB instance class for the reserved DB Instance.public java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime - The time the reservation started.public ReservedDBInstance withStartTime(java.util.Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime - The time the reservation started.public java.lang.Integer getDuration()
public void setDuration(java.lang.Integer duration)
duration - The duration of the reservation in seconds.public ReservedDBInstance withDuration(java.lang.Integer duration)
Returns a reference to this object so that method calls can be chained together.
duration - The duration of the reservation in seconds.public java.lang.Double getFixedPrice()
public void setFixedPrice(java.lang.Double fixedPrice)
fixedPrice - The fixed price charged for this reserved DB Instance.public ReservedDBInstance withFixedPrice(java.lang.Double fixedPrice)
Returns a reference to this object so that method calls can be chained together.
fixedPrice - The fixed price charged for this reserved DB Instance.public java.lang.Double getUsagePrice()
public void setUsagePrice(java.lang.Double usagePrice)
usagePrice - The hourly price charged for this reserved DB Instance.public ReservedDBInstance withUsagePrice(java.lang.Double usagePrice)
Returns a reference to this object so that method calls can be chained together.
usagePrice - The hourly price charged for this reserved DB Instance.public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
currencyCode - The currency code for the reserved DB Instance.public ReservedDBInstance withCurrencyCode(java.lang.String currencyCode)
Returns a reference to this object so that method calls can be chained together.
currencyCode - The currency code for the reserved DB Instance.public java.lang.Integer getDBInstanceCount()
public void setDBInstanceCount(java.lang.Integer dBInstanceCount)
dBInstanceCount - The number of reserved DB Instances.public ReservedDBInstance withDBInstanceCount(java.lang.Integer dBInstanceCount)
Returns a reference to this object so that method calls can be chained together.
dBInstanceCount - The number of reserved DB Instances.public java.lang.String getProductDescription()
public void setProductDescription(java.lang.String productDescription)
productDescription - The description of the reserved DB Instance.public ReservedDBInstance withProductDescription(java.lang.String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription - The description of the reserved DB Instance.public java.lang.String getOfferingType()
public void setOfferingType(java.lang.String offeringType)
offeringType - The offering type of this reserved DB Instance.public ReservedDBInstance withOfferingType(java.lang.String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType - The offering type of this reserved DB Instance.public java.lang.Boolean isMultiAZ()
public void setMultiAZ(java.lang.Boolean multiAZ)
multiAZ - Indicates if the reservation applies to Multi-AZ deployments.public ReservedDBInstance withMultiAZ(java.lang.Boolean multiAZ)
Returns a reference to this object so that method calls can be chained together.
multiAZ - Indicates if the reservation applies to Multi-AZ deployments.public java.lang.Boolean getMultiAZ()
public java.lang.String getState()
public void setState(java.lang.String state)
state - The state of the reserved DB Instance.public ReservedDBInstance withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
state - The state of the reserved DB Instance.public java.util.List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
recurringCharges - The recurring price charged to run this reserved DB Instance.public ReservedDBInstance withRecurringCharges(RecurringCharge... recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges - The recurring price charged to run this reserved DB Instance.public ReservedDBInstance withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges - The recurring price charged to run this reserved DB Instance.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object