Class RecurringCharge
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.RecurringCharge
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RecurringCharge extends Object implements Serializable, Cloneable
Specifies whether charges for devices will be recurring.
- 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)MonetaryAmountgetCost()The cost of the recurring charge.StringgetFrequency()The frequency in which charges will recur.inthashCode()voidsetCost(MonetaryAmount cost)The cost of the recurring charge.voidsetFrequency(RecurringChargeFrequency frequency)The frequency in which charges will recur.voidsetFrequency(String frequency)The frequency in which charges will recur.StringtoString()Returns a string representation of this object; useful for testing and debugging.RecurringChargewithCost(MonetaryAmount cost)The cost of the recurring charge.RecurringChargewithFrequency(RecurringChargeFrequency frequency)The frequency in which charges will recur.RecurringChargewithFrequency(String frequency)The frequency in which charges will recur.
-
-
-
Method Detail
-
setCost
public void setCost(MonetaryAmount cost)
The cost of the recurring charge.
- Parameters:
cost- The cost of the recurring charge.
-
getCost
public MonetaryAmount getCost()
The cost of the recurring charge.
- Returns:
- The cost of the recurring charge.
-
withCost
public RecurringCharge withCost(MonetaryAmount cost)
The cost of the recurring charge.
- Parameters:
cost- The cost of the recurring charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFrequency
public void setFrequency(String frequency)
The frequency in which charges will recur.
- Parameters:
frequency- The frequency in which charges will recur.- See Also:
RecurringChargeFrequency
-
getFrequency
public String getFrequency()
The frequency in which charges will recur.
- Returns:
- The frequency in which charges will recur.
- See Also:
RecurringChargeFrequency
-
withFrequency
public RecurringCharge withFrequency(String frequency)
The frequency in which charges will recur.
- Parameters:
frequency- The frequency in which charges will recur.- 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 in which charges will recur.
- Parameters:
frequency- The frequency in which charges will recur.- See Also:
RecurringChargeFrequency
-
withFrequency
public RecurringCharge withFrequency(RecurringChargeFrequency frequency)
The frequency in which charges will recur.
- Parameters:
frequency- The frequency in which charges will recur.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecurringChargeFrequency
-
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()
-
-