|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.SpotPrice
public class SpotPrice
Spot Price
| Constructor Summary | |
|---|---|
SpotPrice()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAvailabilityZone()
Returns the value of the AvailabilityZone property for this object. |
String |
getInstanceType()
Returns the value of the InstanceType property for this object. |
String |
getProductDescription()
Returns the value of the ProductDescription property for this object. |
String |
getSpotPrice()
Returns the value of the SpotPrice property for this object. |
Date |
getTimestamp()
Returns the value of the Timestamp property for this object. |
int |
hashCode()
|
void |
setAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object. |
void |
setInstanceType(InstanceType instanceType)
Sets the value of the InstanceType property for this object. |
void |
setInstanceType(String instanceType)
Sets the value of the InstanceType property for this object. |
void |
setProductDescription(String productDescription)
Sets the value of the ProductDescription property for this object. |
void |
setSpotPrice(String spotPrice)
Sets the value of the SpotPrice property for this object. |
void |
setTimestamp(Date timestamp)
Sets the value of the Timestamp property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SpotPrice |
withAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object. |
SpotPrice |
withInstanceType(InstanceType instanceType)
Sets the value of the InstanceType property for this object. |
SpotPrice |
withInstanceType(String instanceType)
Sets the value of the InstanceType property for this object. |
SpotPrice |
withProductDescription(String productDescription)
Sets the value of the ProductDescription property for this object. |
SpotPrice |
withSpotPrice(String spotPrice)
Sets the value of the SpotPrice property for this object. |
SpotPrice |
withTimestamp(Date timestamp)
Sets the value of the Timestamp property for this object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpotPrice()
| Method Detail |
|---|
public String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
InstanceTypepublic void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType - The new value for the InstanceType property for this object.InstanceTypepublic SpotPrice withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType - The new value for the InstanceType property for this object.
InstanceTypepublic void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType - The new value for the InstanceType property for this object.InstanceTypepublic SpotPrice withInstanceType(InstanceType instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType - The new value for the InstanceType property for this object.
InstanceTypepublic String getProductDescription()
public void setProductDescription(String productDescription)
productDescription - The new value for the ProductDescription property for this object.public SpotPrice withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription - The new value for the ProductDescription property for this object.
public String getSpotPrice()
public void setSpotPrice(String spotPrice)
spotPrice - The new value for the SpotPrice property for this object.public SpotPrice withSpotPrice(String spotPrice)
Returns a reference to this object so that method calls can be chained together.
spotPrice - The new value for the SpotPrice property for this object.
public Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp - The new value for the Timestamp property for this object.public SpotPrice withTimestamp(Date timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp - The new value for the Timestamp property for this object.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone - The new value for the AvailabilityZone property for this object.public SpotPrice withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone - The new value for the AvailabilityZone property for this object.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||