@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PricingDetail extends Object implements Serializable, Cloneable
Describes a Reserved Instance offering.
Constructor and Description |
---|
PricingDetail() |
Modifier and Type | Method and Description |
---|---|
PricingDetail |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number of reservations available for the price.
|
Double |
getPrice()
The price per instance.
|
int |
hashCode() |
void |
setCount(Integer count)
The number of reservations available for the price.
|
void |
setPrice(Double price)
The price per instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PricingDetail |
withCount(Integer count)
The number of reservations available for the price.
|
PricingDetail |
withPrice(Double price)
The price per instance.
|
public void setCount(Integer count)
The number of reservations available for the price.
count
- The number of reservations available for the price.public Integer getCount()
The number of reservations available for the price.
public PricingDetail withCount(Integer count)
The number of reservations available for the price.
count
- The number of reservations available for the price.public void setPrice(Double price)
The price per instance.
price
- The price per instance.public Double getPrice()
The price per instance.
public PricingDetail withPrice(Double price)
The price per instance.
price
- The price per instance.public String toString()
toString
in class Object
Object.toString()
public PricingDetail clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.