Package com.amazonaws.services.rds.model
Class RecurringCharge
- java.lang.Object
-
- com.amazonaws.services.rds.model.RecurringCharge
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RecurringCharge extends Object implements Serializable, Cloneable
This data type is used as a response element in the DescribeReservedDBInstances and DescribeReservedDBInstancesOfferings actions.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecurringCharge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecurringCharge
clone()
boolean
equals(Object obj)
Double
getRecurringChargeAmount()
The amount of the recurring charge.String
getRecurringChargeFrequency()
The frequency of the recurring charge.int
hashCode()
void
setRecurringChargeAmount(Double recurringChargeAmount)
The 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 amount of the recurring charge.RecurringCharge
withRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
-
-
-
Method Detail
-
setRecurringChargeAmount
public void setRecurringChargeAmount(Double recurringChargeAmount)
The amount of the recurring charge.
- Parameters:
recurringChargeAmount
- The amount of the recurring charge.
-
getRecurringChargeAmount
public Double getRecurringChargeAmount()
The amount of the recurring charge.
- Returns:
- The amount of the recurring charge.
-
withRecurringChargeAmount
public RecurringCharge withRecurringChargeAmount(Double recurringChargeAmount)
The amount of the recurring charge.
- Parameters:
recurringChargeAmount
- The 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RecurringCharge clone()
-
-