Class RecurringCharge
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.RecurringCharge
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RecurringCharge extends Object implements Serializable, Cloneable
Contains the specific price and frequency of a recurring charges for a reserved cache node, or for a reserved cache node offering.
- 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)DoublegetRecurringChargeAmount()The monetary amount of the recurring charge.StringgetRecurringChargeFrequency()The frequency of the recurring charge.inthashCode()voidsetRecurringChargeAmount(Double recurringChargeAmount)The monetary amount of the recurring charge.voidsetRecurringChargeFrequency(String recurringChargeFrequency)The frequency of the recurring charge.StringtoString()Returns a string representation of this object; useful for testing and debugging.RecurringChargewithRecurringChargeAmount(Double recurringChargeAmount)The monetary amount of the recurring charge.RecurringChargewithRecurringChargeFrequency(String recurringChargeFrequency)The frequency of the recurring charge.
-
-
-
Method Detail
-
setRecurringChargeAmount
public void setRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
- Parameters:
recurringChargeAmount- The monetary amount of the recurring charge.
-
getRecurringChargeAmount
public Double getRecurringChargeAmount()
The monetary amount of the recurring charge.
- Returns:
- The monetary amount of the recurring charge.
-
withRecurringChargeAmount
public RecurringCharge withRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
- Parameters:
recurringChargeAmount- The monetary amount of the recurring charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRecurringChargeFrequency
public void setRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
- Parameters:
recurringChargeFrequency- The frequency of the recurring charge.
-
getRecurringChargeFrequency
public String getRecurringChargeFrequency()
The frequency of the recurring charge.
- Returns:
- The frequency of the recurring charge.
-
withRecurringChargeFrequency
public RecurringCharge withRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
- Parameters:
recurringChargeFrequency- The frequency 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()
-
-