@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
Constructor and Description |
---|
RecurringCharge() |
Modifier and Type | Method and Description |
---|---|
RecurringCharge |
clone() |
boolean |
equals(Object obj) |
Double |
getRecurringChargeAmount()
The monetary amount of the recurring charge.
|
String |
getRecurringChargeFrequency()
The frequency of the recurring charge.
|
int |
hashCode() |
void |
setRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
|
void |
setRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RecurringCharge |
withRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
|
RecurringCharge |
withRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
|
public void setRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
recurringChargeAmount
- The monetary amount of the recurring charge.public Double getRecurringChargeAmount()
The monetary amount of the recurring charge.
public RecurringCharge withRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
recurringChargeAmount
- The monetary amount of the recurring charge.public void setRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
recurringChargeFrequency
- The frequency of the recurring charge.public String getRecurringChargeFrequency()
The frequency of the recurring charge.
public RecurringCharge withRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
recurringChargeFrequency
- The frequency of the recurring charge.public String toString()
toString
in class Object
Object.toString()
public RecurringCharge clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.