|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.rds.model.ReservedDBInstance
public class ReservedDBInstance
Reserved D B Instance
Constructor Summary | |
---|---|
ReservedDBInstance()
|
Method Summary | |
---|---|
String |
getDBInstanceClass()
The DB instance class for the reserved DB Instance. |
Integer |
getDBInstanceCount()
The number of reserved DB Instances. |
Integer |
getDuration()
The duration of the reservation in seconds. |
Double |
getFixedPrice()
The fixed price charged for this reserved DB Instance. |
Boolean |
getMultiAZ()
Indicates if the reservation applies to Multi-AZ deployments. |
String |
getProductDescription()
The description of the reserved DB Instance. |
String |
getReservedDBInstanceId()
The unique identifier for the reservation. |
String |
getReservedDBInstancesOfferingId()
The offering identifier. |
Date |
getStartTime()
The time the reservation started. |
String |
getState()
The state of the reserved DB Instance. |
Double |
getUsagePrice()
The hourly price charged for this reserved DB Instance. |
Boolean |
isMultiAZ()
Indicates if the reservation applies to Multi-AZ deployments. |
void |
setDBInstanceClass(String dBInstanceClass)
The DB instance class for the reserved DB Instance. |
void |
setDBInstanceCount(Integer dBInstanceCount)
The number of reserved DB Instances. |
void |
setDuration(Integer duration)
The duration of the reservation in seconds. |
void |
setFixedPrice(Double fixedPrice)
The fixed price charged for this reserved DB Instance. |
void |
setMultiAZ(Boolean multiAZ)
Indicates if the reservation applies to Multi-AZ deployments. |
void |
setProductDescription(String productDescription)
The description of the reserved DB Instance. |
void |
setReservedDBInstanceId(String reservedDBInstanceId)
The unique identifier for the reservation. |
void |
setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier. |
void |
setStartTime(Date startTime)
The time the reservation started. |
void |
setState(String state)
The state of the reserved DB Instance. |
void |
setUsagePrice(Double usagePrice)
The hourly price charged for this reserved DB Instance. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReservedDBInstance |
withDBInstanceClass(String dBInstanceClass)
The DB instance class for the reserved DB Instance. |
ReservedDBInstance |
withDBInstanceCount(Integer dBInstanceCount)
The number of reserved DB Instances. |
ReservedDBInstance |
withDuration(Integer duration)
The duration of the reservation in seconds. |
ReservedDBInstance |
withFixedPrice(Double fixedPrice)
The fixed price charged for this reserved DB Instance. |
ReservedDBInstance |
withMultiAZ(Boolean multiAZ)
Indicates if the reservation applies to Multi-AZ deployments. |
ReservedDBInstance |
withProductDescription(String productDescription)
The description of the reserved DB Instance. |
ReservedDBInstance |
withReservedDBInstanceId(String reservedDBInstanceId)
The unique identifier for the reservation. |
ReservedDBInstance |
withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier. |
ReservedDBInstance |
withStartTime(Date startTime)
The time the reservation started. |
ReservedDBInstance |
withState(String state)
The state of the reserved DB Instance. |
ReservedDBInstance |
withUsagePrice(Double usagePrice)
The hourly price charged for this reserved DB Instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReservedDBInstance()
Method Detail |
---|
public String getReservedDBInstanceId()
public void setReservedDBInstanceId(String reservedDBInstanceId)
reservedDBInstanceId
- The unique identifier for the reservation.public ReservedDBInstance withReservedDBInstanceId(String reservedDBInstanceId)
Returns a reference to this object so that method calls can be chained together.
reservedDBInstanceId
- The unique identifier for the reservation.
public String getReservedDBInstancesOfferingId()
public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
reservedDBInstancesOfferingId
- The offering identifier.public ReservedDBInstance withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedDBInstancesOfferingId
- The offering identifier.
public String getDBInstanceClass()
public void setDBInstanceClass(String dBInstanceClass)
dBInstanceClass
- The DB instance class for the reserved DB Instance.public ReservedDBInstance withDBInstanceClass(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 Date getStartTime()
public void setStartTime(Date startTime)
startTime
- The time the reservation started.public ReservedDBInstance withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- The time the reservation started.
public Integer getDuration()
public void setDuration(Integer duration)
duration
- The duration of the reservation in seconds.public ReservedDBInstance withDuration(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 Double getFixedPrice()
public void setFixedPrice(Double fixedPrice)
fixedPrice
- The fixed price charged for this reserved DB Instance.public ReservedDBInstance withFixedPrice(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 Double getUsagePrice()
public void setUsagePrice(Double usagePrice)
usagePrice
- The hourly price charged for this reserved DB Instance.public ReservedDBInstance withUsagePrice(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 Integer getDBInstanceCount()
public void setDBInstanceCount(Integer dBInstanceCount)
dBInstanceCount
- The number of reserved DB Instances.public ReservedDBInstance withDBInstanceCount(Integer dBInstanceCount)
Returns a reference to this object so that method calls can be chained together.
dBInstanceCount
- The number of reserved DB Instances.
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- The description of the reserved DB Instance.public ReservedDBInstance withProductDescription(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 Boolean isMultiAZ()
public void setMultiAZ(Boolean multiAZ)
multiAZ
- Indicates if the reservation applies to Multi-AZ deployments.public ReservedDBInstance withMultiAZ(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 Boolean getMultiAZ()
public String getState()
public void setState(String state)
state
- The state of the reserved DB Instance.public ReservedDBInstance withState(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 String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |