public class SpotPrice
extends java.lang.Object
implements java.io.Serializable
| コンストラクタと説明 |
|---|
SpotPrice() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
Returns the value of the AvailabilityZone property for this object.
|
java.lang.String |
getInstanceType()
Returns the value of the InstanceType property for this object.
|
java.lang.String |
getProductDescription()
Returns the value of the ProductDescription property for this object.
|
java.lang.String |
getSpotPrice()
Returns the value of the SpotPrice property for this object.
|
java.util.Date |
getTimestamp()
Returns the value of the Timestamp property for this object.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.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(java.lang.String instanceType)
Sets the value of the InstanceType property for this object.
|
void |
setProductDescription(java.lang.String productDescription)
Sets the value of the ProductDescription property for this object.
|
void |
setSpotPrice(java.lang.String spotPrice)
Sets the value of the SpotPrice property for this object.
|
void |
setTimestamp(java.util.Date timestamp)
Sets the value of the Timestamp property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SpotPrice |
withAvailabilityZone(java.lang.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(java.lang.String instanceType)
Sets the value of the InstanceType property for this object.
|
SpotPrice |
withProductDescription(java.lang.String productDescription)
Sets the value of the ProductDescription property for this object.
|
SpotPrice |
withSpotPrice(java.lang.String spotPrice)
Sets the value of the SpotPrice property for this object.
|
SpotPrice |
withTimestamp(java.util.Date timestamp)
Sets the value of the Timestamp property for this object.
|
public java.lang.String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
InstanceTypepublic void setInstanceType(java.lang.String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The new value for the InstanceType property for this object.InstanceTypepublic SpotPrice withInstanceType(java.lang.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, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
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, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
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, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The new value for the InstanceType property for this object.InstanceTypepublic java.lang.String getProductDescription()
public void setProductDescription(java.lang.String productDescription)
productDescription - The new value for the ProductDescription property for this object.public SpotPrice withProductDescription(java.lang.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 java.lang.String getSpotPrice()
public void setSpotPrice(java.lang.String spotPrice)
spotPrice - The new value for the SpotPrice property for this object.public SpotPrice withSpotPrice(java.lang.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 java.util.Date getTimestamp()
public void setTimestamp(java.util.Date timestamp)
timestamp - The new value for the Timestamp property for this object.public SpotPrice withTimestamp(java.util.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 java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - The new value for the AvailabilityZone property for this object.public SpotPrice withAvailabilityZone(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object