@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.RecurringChargeFrequency
public String getFrequency()
The frequency in which charges will recur.
RecurringChargeFrequency
public RecurringCharge withFrequency(String frequency)
The frequency in which charges will recur.
frequency
- The frequency in which charges will recur.RecurringChargeFrequency
public void setFrequency(RecurringChargeFrequency frequency)
The frequency in which charges will recur.
frequency
- The frequency in which charges will recur.RecurringChargeFrequency
public RecurringCharge withFrequency(RecurringChargeFrequency frequency)
The frequency in which charges will recur.
frequency
- The frequency in which charges will recur.RecurringChargeFrequency
public String toString()
toString
in class Object
Object.toString()
public RecurringCharge clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.