public class RecurringCharge extends Object implements Serializable
Represents a usage charge for Amazon EC2 resources that repeats on a schedule.
| Constructor and Description |
|---|
RecurringCharge() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.