@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecurringCharge extends Object implements Serializable, Cloneable
Describes a recurring charge.
Constructor and Description |
---|
RecurringCharge() |
Modifier and Type | Method and Description |
---|---|
RecurringCharge |
clone() |
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(RecurringChargeFrequency frequency)
The frequency of the recurring charge.
|
void |
setFrequency(String frequency)
The frequency of the recurring charge.
|
String |
toString()
Returns a string representation of this object.
|
RecurringCharge |
withAmount(Double amount)
The amount of the recurring charge.
|
RecurringCharge |
withFrequency(RecurringChargeFrequency frequency)
The frequency of the recurring charge.
|
RecurringCharge |
withFrequency(String frequency)
The frequency of the recurring charge.
|
public void setAmount(Double amount)
The amount of the recurring charge.
amount
- The amount of the recurring charge.public Double getAmount()
The amount of the recurring charge.
public RecurringCharge withAmount(Double amount)
The amount of the recurring charge.
amount
- The amount of the recurring charge.public void setFrequency(String frequency)
The frequency of the recurring charge.
frequency
- The frequency of the recurring charge.RecurringChargeFrequency
public String getFrequency()
The frequency of the recurring charge.
RecurringChargeFrequency
public RecurringCharge withFrequency(String frequency)
The frequency of the recurring charge.
frequency
- The frequency of the recurring charge.RecurringChargeFrequency
public void setFrequency(RecurringChargeFrequency frequency)
The frequency of the recurring charge.
frequency
- The frequency of the recurring charge.RecurringChargeFrequency
public RecurringCharge withFrequency(RecurringChargeFrequency frequency)
The frequency of the recurring charge.
frequency
- The frequency of the recurring charge.RecurringChargeFrequency
public String toString()
toString
in class Object
Object.toString()
public RecurringCharge clone()