|
||||||||||
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
Constructor Summary | |
---|---|
SpotPrice()
|
Method Summary | |
---|---|
String |
getInstanceType()
Constraints: Allowed Values: m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge |
String |
getProductDescription()
|
String |
getSpotPrice()
|
Date |
getTimestamp()
|
void |
setInstanceType(String instanceType)
Constraints: Allowed Values: m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge |
void |
setProductDescription(String productDescription)
|
void |
setSpotPrice(String spotPrice)
|
void |
setTimestamp(Date timestamp)
|
String |
toString()
|
SpotPrice |
withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together. |
SpotPrice |
withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together. |
SpotPrice |
withSpotPrice(String spotPrice)
Returns a reference to this object so that method calls can be chained together. |
SpotPrice |
withTimestamp(Date timestamp)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpotPrice()
Method Detail |
---|
public String getInstanceType()
Constraints:
Allowed Values: m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge
instanceType
- InstanceType
public SpotPrice withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge
instanceType
-
InstanceType
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- public SpotPrice withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription
-
public String getSpotPrice()
public void setSpotPrice(String spotPrice)
spotPrice
- public SpotPrice withSpotPrice(String spotPrice)
Returns a reference to this object so that method calls can be chained together.
spotPrice
-
public Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp
- public SpotPrice withTimestamp(Date timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp
-
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |