Class RecurringCharge
- java.lang.Object
-
- com.amazonaws.services.redshift.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 RecurringCharge
clone()
boolean
equals(Object obj)
Double
getRecurringChargeAmount()
The amount charged per the period of time specified by the recurring charge frequency.String
getRecurringChargeFrequency()
The frequency at which the recurring charge amount is applied.int
hashCode()
void
setRecurringChargeAmount(Double recurringChargeAmount)
The amount charged per the period of time specified by the recurring charge frequency.void
setRecurringChargeFrequency(String recurringChargeFrequency)
The frequency at which the recurring charge amount is applied.String
toString()
Returns a string representation of this object; useful for testing and debugging.RecurringCharge
withRecurringChargeAmount(Double recurringChargeAmount)
The amount charged per the period of time specified by the recurring charge frequency.RecurringCharge
withRecurringChargeFrequency(String recurringChargeFrequency)
The frequency at which the recurring charge amount is applied.
-
-
-
Method Detail
-
setRecurringChargeAmount
public void setRecurringChargeAmount(Double recurringChargeAmount)
The amount charged per the period of time specified by the recurring charge frequency.
- Parameters:
recurringChargeAmount
- The amount charged per the period of time specified by the recurring charge frequency.
-
getRecurringChargeAmount
public Double getRecurringChargeAmount()
The amount charged per the period of time specified by the recurring charge frequency.
- Returns:
- The amount charged per the period of time specified by the recurring charge frequency.
-
withRecurringChargeAmount
public RecurringCharge withRecurringChargeAmount(Double recurringChargeAmount)
The amount charged per the period of time specified by the recurring charge frequency.
- Parameters:
recurringChargeAmount
- The amount charged per the period of time specified by the recurring charge frequency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRecurringChargeFrequency
public void setRecurringChargeFrequency(String recurringChargeFrequency)
The frequency at which the recurring charge amount is applied.
- Parameters:
recurringChargeFrequency
- The frequency at which the recurring charge amount is applied.
-
getRecurringChargeFrequency
public String getRecurringChargeFrequency()
The frequency at which the recurring charge amount is applied.
- Returns:
- The frequency at which the recurring charge amount is applied.
-
withRecurringChargeFrequency
public RecurringCharge withRecurringChargeFrequency(String recurringChargeFrequency)
The frequency at which the recurring charge amount is applied.
- Parameters:
recurringChargeFrequency
- The frequency at which the recurring charge amount is applied.- 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()
-
-