|
|||||||
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
Describes the Spot Price.
Constructor Summary | |
---|---|
SpotPrice()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAvailabilityZone()
The Availability Zone. |
java.lang.String |
getInstanceType()
The instance type. |
java.lang.String |
getProductDescription()
A general description of the AMI. |
java.lang.String |
getSpotPrice()
The maximum price you will pay to launch one or more Spot Instances. |
java.util.Date |
getTimestamp()
The date and time the request was created. |
int |
hashCode()
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone. |
void |
setInstanceType(InstanceType instanceType)
The instance type. |
void |
setInstanceType(java.lang.String instanceType)
The instance type. |
void |
setProductDescription(RIProductDescription productDescription)
A general description of the AMI. |
void |
setProductDescription(java.lang.String productDescription)
A general description of the AMI. |
void |
setSpotPrice(java.lang.String spotPrice)
The maximum price you will pay to launch one or more Spot Instances. |
void |
setTimestamp(java.util.Date timestamp)
The date and time the request was created. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SpotPrice |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone. |
SpotPrice |
withInstanceType(InstanceType instanceType)
The instance type. |
SpotPrice |
withInstanceType(java.lang.String instanceType)
The instance type. |
SpotPrice |
withProductDescription(RIProductDescription productDescription)
A general description of the AMI. |
SpotPrice |
withProductDescription(java.lang.String productDescription)
A general description of the AMI. |
SpotPrice |
withSpotPrice(java.lang.String spotPrice)
The maximum price you will pay to launch one or more Spot Instances. |
SpotPrice |
withTimestamp(java.util.Date timestamp)
The date and time the request was created. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpotPrice()
Method Detail |
---|
public java.lang.String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, 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, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
InstanceType
public void setInstanceType(java.lang.String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, 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, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type.InstanceType
public 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, m3.medium, m3.large, 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, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type.
InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, 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, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type.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.medium, m3.large, 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, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type.
InstanceType
public java.lang.String getProductDescription()
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
RIProductDescription
public void setProductDescription(java.lang.String productDescription)
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- A general description of the AMI.RIProductDescription
public SpotPrice withProductDescription(java.lang.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
- A general description of the AMI.
RIProductDescription
public void setProductDescription(RIProductDescription productDescription)
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- A general description of the AMI.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
- A general description of the AMI.
RIProductDescription
public java.lang.String getSpotPrice()
public void setSpotPrice(java.lang.String spotPrice)
spotPrice
- The maximum price you will pay to launch one or more Spot Instances.public SpotPrice withSpotPrice(java.lang.String spotPrice)
Returns a reference to this object so that method calls can be chained together.
spotPrice
- The maximum price you will pay to launch one or more Spot Instances.
public java.util.Date getTimestamp()
public void setTimestamp(java.util.Date timestamp)
timestamp
- The date and time the request was created.public SpotPrice withTimestamp(java.util.Date timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp
- The date and time the request was created.
public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone
- The Availability Zone.public SpotPrice withAvailabilityZone(java.lang.String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |