@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecurringCharge extends Object implements Serializable, Cloneable, StructuredPojo
Specifies whether charges for devices will be recurring.
| Constructor and Description |
|---|
RecurringCharge() |
| Modifier and Type | Method and Description |
|---|---|
RecurringCharge |
clone() |
boolean |
equals(Object obj) |
MonetaryAmount |
getCost()
The cost of the recurring charge.
|
String |
getFrequency()
The frequency in which charges will recur.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCost(MonetaryAmount cost)
The cost of the recurring charge.
|
void |
setFrequency(RecurringChargeFrequency frequency)
The frequency in which charges will recur.
|
void |
setFrequency(String frequency)
The frequency in which charges will recur.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RecurringCharge |
withCost(MonetaryAmount cost)
The cost of the recurring charge.
|
RecurringCharge |
withFrequency(RecurringChargeFrequency frequency)
The frequency in which charges will recur.
|
RecurringCharge |
withFrequency(String frequency)
The frequency in which charges will recur.
|
public void setCost(MonetaryAmount cost)
The cost of the recurring charge.
cost - The cost of the recurring charge.public MonetaryAmount getCost()
The cost of the recurring charge.
public RecurringCharge withCost(MonetaryAmount cost)
The cost of the recurring charge.
cost - The cost of the recurring charge.public void setFrequency(String frequency)
The frequency in which charges will recur.
frequency - The frequency in which charges will recur.RecurringChargeFrequencypublic String getFrequency()
The frequency in which charges will recur.
RecurringChargeFrequencypublic RecurringCharge withFrequency(String frequency)
The frequency in which charges will recur.
frequency - The frequency in which charges will recur.RecurringChargeFrequencypublic void setFrequency(RecurringChargeFrequency frequency)
The frequency in which charges will recur.
frequency - The frequency in which charges will recur.RecurringChargeFrequencypublic RecurringCharge withFrequency(RecurringChargeFrequency frequency)
The frequency in which charges will recur.
frequency - The frequency in which charges will recur.RecurringChargeFrequencypublic String toString()
toString in class ObjectObject.toString()public RecurringCharge clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.