Package com.amazonaws.services.ec2.model
Class RecurringCharge
- java.lang.Object
-
- com.amazonaws.services.ec2.model.RecurringCharge
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RecurringCharge extends Object implements Serializable, Cloneable
Describes a recurring charge.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecurringCharge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecurringChargeclone()booleanequals(Object obj)DoublegetAmount()The amount of the recurring charge.StringgetFrequency()The frequency of the recurring charge.inthashCode()voidsetAmount(Double amount)The amount of the recurring charge.voidsetFrequency(RecurringChargeFrequency frequency)The frequency of the recurring charge.voidsetFrequency(String frequency)The frequency of the recurring charge.StringtoString()Returns a string representation of this object; useful for testing and debugging.RecurringChargewithAmount(Double amount)The amount of the recurring charge.RecurringChargewithFrequency(RecurringChargeFrequency frequency)The frequency of the recurring charge.RecurringChargewithFrequency(String frequency)The frequency of the recurring charge.
-
-
-
Method Detail
-
setFrequency
public void setFrequency(String frequency)
The frequency of the recurring charge.
- Parameters:
frequency- The frequency of the recurring charge.- See Also:
RecurringChargeFrequency
-
getFrequency
public String getFrequency()
The frequency of the recurring charge.
- Returns:
- The frequency of the recurring charge.
- See Also:
RecurringChargeFrequency
-
withFrequency
public RecurringCharge withFrequency(String frequency)
The frequency of the recurring charge.
- Parameters:
frequency- The frequency of the recurring charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecurringChargeFrequency
-
setFrequency
public void setFrequency(RecurringChargeFrequency frequency)
The frequency of the recurring charge.
- Parameters:
frequency- The frequency of the recurring charge.- See Also:
RecurringChargeFrequency
-
withFrequency
public RecurringCharge withFrequency(RecurringChargeFrequency frequency)
The frequency of the recurring charge.
- Parameters:
frequency- The frequency of the recurring charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecurringChargeFrequency
-
setAmount
public void setAmount(Double amount)
The amount of the recurring charge.
- Parameters:
amount- The amount of the recurring charge.
-
getAmount
public Double getAmount()
The amount of the recurring charge.
- Returns:
- The amount of the recurring charge.
-
withAmount
public RecurringCharge withAmount(Double amount)
The amount of the recurring charge.
- Parameters:
amount- The amount of the recurring charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RecurringCharge clone()
-
-