@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecurringCharge extends Object implements Serializable, Cloneable, StructuredPojo
Contains the specific price and frequency of a recurring charges for an OpenSearch Reserved Instance, or for a Reserved Instance offering.
Constructor and Description |
---|
RecurringCharge() |
Modifier and Type | Method and Description |
---|---|
RecurringCharge |
clone() |
boolean |
equals(Object obj) |
Double |
getRecurringChargeAmount()
The monetary amount of the recurring charge.
|
String |
getRecurringChargeFrequency()
The frequency of the recurring charge.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
|
void |
setRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
|
String |
toString()
Returns a string representation of this object.
|
RecurringCharge |
withRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
|
RecurringCharge |
withRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
|
public void setRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
recurringChargeAmount
- The monetary amount of the recurring charge.public Double getRecurringChargeAmount()
The monetary amount of the recurring charge.
public RecurringCharge withRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
recurringChargeAmount
- The monetary amount of the recurring charge.public void setRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
recurringChargeFrequency
- The frequency of the recurring charge.public String getRecurringChargeFrequency()
The frequency of the recurring charge.
public RecurringCharge withRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
recurringChargeFrequency
- The frequency of the recurring charge.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.