|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.SpotInstanceRequest
public class SpotInstanceRequest
Spot Instance Request
Constructor Summary | |
---|---|
SpotInstanceRequest()
|
Method Summary | |
---|---|
String |
getAvailabilityZoneGroup()
Returns the value of the AvailabilityZoneGroup property for this object. |
Date |
getCreateTime()
Returns the value of the CreateTime property for this object. |
SpotInstanceStateFault |
getFault()
Returns the value of the Fault property for this object. |
String |
getInstanceId()
Returns the value of the InstanceId property for this object. |
String |
getLaunchedAvailabilityZone()
The Availability Zone in which the bid is launched. |
String |
getLaunchGroup()
Returns the value of the LaunchGroup property for this object. |
LaunchSpecification |
getLaunchSpecification()
The LaunchSpecificationType data type. |
String |
getProductDescription()
Returns the value of the ProductDescription property for this object. |
String |
getSpotInstanceRequestId()
Returns the value of the SpotInstanceRequestId property for this object. |
String |
getSpotPrice()
Returns the value of the SpotPrice property for this object. |
String |
getState()
Returns the value of the State property for this object. |
List<Tag> |
getTags()
A list of tags for this spot instance request. |
String |
getType()
Returns the value of the Type property for this object. |
Date |
getValidFrom()
Returns the value of the ValidFrom property for this object. |
Date |
getValidUntil()
Returns the value of the ValidUntil property for this object. |
void |
setAvailabilityZoneGroup(String availabilityZoneGroup)
Sets the value of the AvailabilityZoneGroup property for this object. |
void |
setCreateTime(Date createTime)
Sets the value of the CreateTime property for this object. |
void |
setFault(SpotInstanceStateFault fault)
Sets the value of the Fault property for this object. |
void |
setInstanceId(String instanceId)
Sets the value of the InstanceId property for this object. |
void |
setLaunchedAvailabilityZone(String launchedAvailabilityZone)
The Availability Zone in which the bid is launched. |
void |
setLaunchGroup(String launchGroup)
Sets the value of the LaunchGroup property for this object. |
void |
setLaunchSpecification(LaunchSpecification launchSpecification)
The LaunchSpecificationType data type. |
void |
setProductDescription(String productDescription)
Sets the value of the ProductDescription property for this object. |
void |
setSpotInstanceRequestId(String spotInstanceRequestId)
Sets the value of the SpotInstanceRequestId property for this object. |
void |
setSpotPrice(String spotPrice)
Sets the value of the SpotPrice property for this object. |
void |
setState(String state)
Sets the value of the State property for this object. |
void |
setTags(Collection<Tag> tags)
A list of tags for this spot instance request. |
void |
setType(SpotInstanceType type)
Sets the value of the Type property for this object. |
void |
setType(String type)
Sets the value of the Type property for this object. |
void |
setValidFrom(Date validFrom)
Sets the value of the ValidFrom property for this object. |
void |
setValidUntil(Date validUntil)
Sets the value of the ValidUntil property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SpotInstanceRequest |
withAvailabilityZoneGroup(String availabilityZoneGroup)
Sets the value of the AvailabilityZoneGroup property for this object. |
SpotInstanceRequest |
withCreateTime(Date createTime)
Sets the value of the CreateTime property for this object. |
SpotInstanceRequest |
withFault(SpotInstanceStateFault fault)
Sets the value of the Fault property for this object. |
SpotInstanceRequest |
withInstanceId(String instanceId)
Sets the value of the InstanceId property for this object. |
SpotInstanceRequest |
withLaunchedAvailabilityZone(String launchedAvailabilityZone)
The Availability Zone in which the bid is launched. |
SpotInstanceRequest |
withLaunchGroup(String launchGroup)
Sets the value of the LaunchGroup property for this object. |
SpotInstanceRequest |
withLaunchSpecification(LaunchSpecification launchSpecification)
The LaunchSpecificationType data type. |
SpotInstanceRequest |
withProductDescription(String productDescription)
Sets the value of the ProductDescription property for this object. |
SpotInstanceRequest |
withSpotInstanceRequestId(String spotInstanceRequestId)
Sets the value of the SpotInstanceRequestId property for this object. |
SpotInstanceRequest |
withSpotPrice(String spotPrice)
Sets the value of the SpotPrice property for this object. |
SpotInstanceRequest |
withState(String state)
Sets the value of the State property for this object. |
SpotInstanceRequest |
withTags(Collection<Tag> tags)
A list of tags for this spot instance request. |
SpotInstanceRequest |
withTags(Tag... tags)
A list of tags for this spot instance request. |
SpotInstanceRequest |
withType(SpotInstanceType type)
Sets the value of the Type property for this object. |
SpotInstanceRequest |
withType(String type)
Sets the value of the Type property for this object. |
SpotInstanceRequest |
withValidFrom(Date validFrom)
Sets the value of the ValidFrom property for this object. |
SpotInstanceRequest |
withValidUntil(Date validUntil)
Sets the value of the ValidUntil property for this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpotInstanceRequest()
Method Detail |
---|
public String getSpotInstanceRequestId()
public void setSpotInstanceRequestId(String spotInstanceRequestId)
spotInstanceRequestId
- The new value for the SpotInstanceRequestId property for this object.public SpotInstanceRequest withSpotInstanceRequestId(String spotInstanceRequestId)
Returns a reference to this object so that method calls can be chained together.
spotInstanceRequestId
- The new value for the SpotInstanceRequestId property for this object.
public String getSpotPrice()
public void setSpotPrice(String spotPrice)
spotPrice
- The new value for the SpotPrice property for this object.public SpotInstanceRequest 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 String getType()
Constraints:
Allowed Values: one-time, persistent
SpotInstanceType
public void setType(String type)
Constraints:
Allowed Values: one-time, persistent
type
- The new value for the Type property for this object.SpotInstanceType
public SpotInstanceRequest withType(String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: one-time, persistent
type
- The new value for the Type property for this object.
SpotInstanceType
public void setType(SpotInstanceType type)
Constraints:
Allowed Values: one-time, persistent
type
- The new value for the Type property for this object.SpotInstanceType
public SpotInstanceRequest withType(SpotInstanceType type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: one-time, persistent
type
- The new value for the Type property for this object.
SpotInstanceType
public String getState()
public void setState(String state)
state
- The new value for the State property for this object.public SpotInstanceRequest withState(String state)
Returns a reference to this object so that method calls can be chained together.
state
- The new value for the State property for this object.
public SpotInstanceStateFault getFault()
public void setFault(SpotInstanceStateFault fault)
fault
- The new value for the Fault property for this object.public SpotInstanceRequest withFault(SpotInstanceStateFault fault)
Returns a reference to this object so that method calls can be chained together.
fault
- The new value for the Fault property for this object.
public Date getValidFrom()
public void setValidFrom(Date validFrom)
validFrom
- The new value for the ValidFrom property for this object.public SpotInstanceRequest withValidFrom(Date validFrom)
Returns a reference to this object so that method calls can be chained together.
validFrom
- The new value for the ValidFrom property for this object.
public Date getValidUntil()
public void setValidUntil(Date validUntil)
validUntil
- The new value for the ValidUntil property for this object.public SpotInstanceRequest withValidUntil(Date validUntil)
Returns a reference to this object so that method calls can be chained together.
validUntil
- The new value for the ValidUntil property for this object.
public String getLaunchGroup()
public void setLaunchGroup(String launchGroup)
launchGroup
- The new value for the LaunchGroup property for this object.public SpotInstanceRequest withLaunchGroup(String launchGroup)
Returns a reference to this object so that method calls can be chained together.
launchGroup
- The new value for the LaunchGroup property for this object.
public String getAvailabilityZoneGroup()
public void setAvailabilityZoneGroup(String availabilityZoneGroup)
availabilityZoneGroup
- The new value for the AvailabilityZoneGroup property for this object.public SpotInstanceRequest withAvailabilityZoneGroup(String availabilityZoneGroup)
Returns a reference to this object so that method calls can be chained together.
availabilityZoneGroup
- The new value for the AvailabilityZoneGroup property for this object.
public LaunchSpecification getLaunchSpecification()
public void setLaunchSpecification(LaunchSpecification launchSpecification)
launchSpecification
- The LaunchSpecificationType data type.public SpotInstanceRequest withLaunchSpecification(LaunchSpecification launchSpecification)
Returns a reference to this object so that method calls can be chained together.
launchSpecification
- The LaunchSpecificationType data type.
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The new value for the InstanceId property for this object.public SpotInstanceRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The new value for the InstanceId property for this object.
public Date getCreateTime()
public void setCreateTime(Date createTime)
createTime
- The new value for the CreateTime property for this object.public SpotInstanceRequest withCreateTime(Date createTime)
Returns a reference to this object so that method calls can be chained together.
createTime
- The new value for the CreateTime property for this object.
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- The new value for the ProductDescription property for this object.public SpotInstanceRequest withProductDescription(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 List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- A list of tags for this spot instance request.public SpotInstanceRequest withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for this spot instance request.
public SpotInstanceRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for this spot instance request.
public String getLaunchedAvailabilityZone()
public void setLaunchedAvailabilityZone(String launchedAvailabilityZone)
launchedAvailabilityZone
- The Availability Zone in which the bid is launched.public SpotInstanceRequest withLaunchedAvailabilityZone(String launchedAvailabilityZone)
Returns a reference to this object so that method calls can be chained together.
launchedAvailabilityZone
- The Availability Zone in which the bid is launched.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |