public class SpotPrice extends Object implements Serializable, Cloneable
Describes the maximum hourly price (bid) for any Spot instance launched to fulfill the request.
| Constructor and Description |
|---|
SpotPrice() |
| Modifier and Type | Method and Description |
|---|---|
SpotPrice |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone.
|
String |
getInstanceType()
The instance type.
|
String |
getProductDescription()
A general description of the AMI.
|
String |
getSpotPrice()
The maximum price (bid) that you are willing to pay for a Spot instance.
|
Date |
getTimestamp()
The date and time the request was created, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone.
|
void |
setInstanceType(InstanceType instanceType)
The instance type.
|
void |
setInstanceType(String instanceType)
The instance type.
|
void |
setProductDescription(RIProductDescription productDescription)
A general description of the AMI.
|
void |
setProductDescription(String productDescription)
A general description of the AMI.
|
void |
setSpotPrice(String spotPrice)
The maximum price (bid) that you are willing to pay for a Spot instance.
|
void |
setTimestamp(Date timestamp)
The date and time the request was created, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SpotPrice |
withAvailabilityZone(String availabilityZone)
The Availability Zone.
|
SpotPrice |
withInstanceType(InstanceType instanceType)
The instance type.
|
SpotPrice |
withInstanceType(String instanceType)
The instance type.
|
SpotPrice |
withProductDescription(RIProductDescription productDescription)
A general description of the AMI.
|
SpotPrice |
withProductDescription(String productDescription)
A general description of the AMI.
|
SpotPrice |
withSpotPrice(String spotPrice)
The maximum price (bid) that you are willing to pay for a Spot instance.
|
SpotPrice |
withTimestamp(Date timestamp)
The date and time the request was created, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
public void setInstanceType(String instanceType)
The instance type.
instanceType - The instance type.InstanceTypepublic String getInstanceType()
The instance type.
InstanceTypepublic SpotPrice withInstanceType(String instanceType)
The instance type.
instanceType - The instance type.InstanceTypepublic void setInstanceType(InstanceType instanceType)
The instance type.
instanceType - The instance type.InstanceTypepublic SpotPrice withInstanceType(InstanceType instanceType)
The instance type.
instanceType - The instance type.InstanceTypepublic void setProductDescription(String productDescription)
A general description of the AMI.
productDescription - A general description of the AMI.RIProductDescriptionpublic String getProductDescription()
A general description of the AMI.
RIProductDescriptionpublic SpotPrice withProductDescription(String productDescription)
A general description of the AMI.
productDescription - A general description of the AMI.RIProductDescriptionpublic void setProductDescription(RIProductDescription productDescription)
A general description of the AMI.
productDescription - A general description of the AMI.RIProductDescriptionpublic SpotPrice withProductDescription(RIProductDescription productDescription)
A general description of the AMI.
productDescription - A general description of the AMI.RIProductDescriptionpublic void setSpotPrice(String spotPrice)
The maximum price (bid) that you are willing to pay for a Spot instance.
spotPrice - The maximum price (bid) that you are willing to pay for a Spot
instance.public String getSpotPrice()
The maximum price (bid) that you are willing to pay for a Spot instance.
public SpotPrice withSpotPrice(String spotPrice)
The maximum price (bid) that you are willing to pay for a Spot instance.
spotPrice - The maximum price (bid) that you are willing to pay for a Spot
instance.public void setTimestamp(Date timestamp)
The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
timestamp - The date and time the request was created, in UTC format (for
example,
YYYY-MM-DDTHH:MM:SSZ).public Date getTimestamp()
The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public SpotPrice withTimestamp(Date timestamp)
The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
timestamp - The date and time the request was created, in UTC format (for
example,
YYYY-MM-DDTHH:MM:SSZ).public void setAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone - The Availability Zone.public String getAvailabilityZone()
The Availability Zone.
public SpotPrice withAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone - The Availability Zone.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.