public class SpotPrice extends Object implements Serializable
Constructor and Description |
---|
SpotPrice() |
Modifier and Type | Method and Description |
---|---|
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(RIProductDescription productDescription)
Sets the value of the ProductDescription 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(RIProductDescription productDescription)
Sets the value of the ProductDescription 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.
|
public String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
instanceType
- The new value for the InstanceType property for this object.InstanceType
public 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, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
instanceType
- The new value for the InstanceType property for this object.InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
instanceType
- The new value for the InstanceType property for this object.InstanceType
public 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, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
instanceType
- The new value for the InstanceType property for this object.InstanceType
public String getProductDescription()
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
RIProductDescription
public void setProductDescription(String productDescription)
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- The new value for the ProductDescription property for this object.RIProductDescription
public SpotPrice withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- The new value for the ProductDescription property for this object.RIProductDescription
public void setProductDescription(RIProductDescription productDescription)
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- The new value for the ProductDescription property for this object.RIProductDescription
public SpotPrice withProductDescription(RIProductDescription productDescription)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- The new value for the ProductDescription property for this object.RIProductDescription
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 Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.