@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PriceWithCurrency extends Object implements Serializable, Cloneable, StructuredPojo
Currency-specific price information.
| Constructor and Description |
|---|
PriceWithCurrency() |
| Modifier and Type | Method and Description |
|---|---|
PriceWithCurrency |
clone() |
boolean |
equals(Object obj) |
String |
getCurrency()
The currency specifier.
|
Double |
getPrice()
The price of a domain, in a specific currency.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCurrency(String currency)
The currency specifier.
|
void |
setPrice(Double price)
The price of a domain, in a specific currency.
|
String |
toString()
Returns a string representation of this object.
|
PriceWithCurrency |
withCurrency(String currency)
The currency specifier.
|
PriceWithCurrency |
withPrice(Double price)
The price of a domain, in a specific currency.
|
public void setPrice(Double price)
The price of a domain, in a specific currency.
price - The price of a domain, in a specific currency.public Double getPrice()
The price of a domain, in a specific currency.
public PriceWithCurrency withPrice(Double price)
The price of a domain, in a specific currency.
price - The price of a domain, in a specific currency.public void setCurrency(String currency)
The currency specifier.
currency - The currency specifier.public String getCurrency()
The currency specifier.
public PriceWithCurrency withCurrency(String currency)
The currency specifier.
currency - The currency specifier.public String toString()
toString in class ObjectObject.toString()public PriceWithCurrency clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.