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