|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.RecurringCharge
public class RecurringCharge
Represents a usage charge for Amazon EC2 resources that repeats on a schedule.
Constructor Summary | |
---|---|
RecurringCharge()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Double |
getAmount()
The amount of the recurring charge. |
String |
getFrequency()
The frequency of the recurring charge. |
int |
hashCode()
|
void |
setAmount(Double amount)
The amount of the recurring charge. |
void |
setFrequency(String frequency)
The frequency of the recurring charge. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RecurringCharge |
withAmount(Double amount)
The amount of the recurring charge. |
RecurringCharge |
withFrequency(String frequency)
The frequency of the recurring charge. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RecurringCharge()
Method Detail |
---|
public String getFrequency()
public void setFrequency(String frequency)
frequency
- The frequency of the recurring charge.public RecurringCharge withFrequency(String frequency)
Returns a reference to this object so that method calls can be chained together.
frequency
- The frequency of the recurring charge.
public Double getAmount()
public void setAmount(Double amount)
amount
- The amount of the recurring charge.public RecurringCharge withAmount(Double amount)
Returns a reference to this object so that method calls can be chained together.
amount
- The amount of the recurring charge.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |