|
|||||||
| 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
| Constructor Summary | |
|---|---|
SpotInstanceRequest()
|
|
| Method Summary | |
|---|---|
String |
getAvailabilityZoneGroup()
|
Date |
getCreateTime()
|
SpotInstanceStateFault |
getFault()
|
String |
getInstanceId()
|
String |
getLaunchGroup()
|
LaunchSpecification |
getLaunchSpecification()
|
String |
getProductDescription()
|
String |
getSpotInstanceRequestId()
|
String |
getSpotPrice()
|
String |
getState()
|
List<Tag> |
getTags()
A list of tags for this spot instance request. |
String |
getType()
Constraints: Allowed Values: one-time, persistent |
Date |
getValidFrom()
|
Date |
getValidUntil()
|
void |
setAvailabilityZoneGroup(String availabilityZoneGroup)
|
void |
setCreateTime(Date createTime)
|
void |
setFault(SpotInstanceStateFault fault)
|
void |
setInstanceId(String instanceId)
|
void |
setLaunchGroup(String launchGroup)
|
void |
setLaunchSpecification(LaunchSpecification launchSpecification)
|
void |
setProductDescription(String productDescription)
|
void |
setSpotInstanceRequestId(String spotInstanceRequestId)
|
void |
setSpotPrice(String spotPrice)
|
void |
setState(String state)
|
void |
setTags(Collection<Tag> tags)
A list of tags for this spot instance request. |
void |
setType(String type)
Constraints: Allowed Values: one-time, persistent |
void |
setValidFrom(Date validFrom)
|
void |
setValidUntil(Date validUntil)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SpotInstanceRequest |
withAvailabilityZoneGroup(String availabilityZoneGroup)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withCreateTime(Date createTime)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withFault(SpotInstanceStateFault fault)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withLaunchGroup(String launchGroup)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withLaunchSpecification(LaunchSpecification launchSpecification)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withSpotInstanceRequestId(String spotInstanceRequestId)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withSpotPrice(String spotPrice)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withState(String state)
Returns a reference to this object so that method calls can be chained together. |
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(String type)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withValidFrom(Date validFrom)
Returns a reference to this object so that method calls can be chained together. |
SpotInstanceRequest |
withValidUntil(Date validUntil)
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 SpotInstanceRequest()
| Method Detail |
|---|
public String getSpotInstanceRequestId()
public void setSpotInstanceRequestId(String spotInstanceRequestId)
spotInstanceRequestId - public SpotInstanceRequest withSpotInstanceRequestId(String spotInstanceRequestId)
Returns a reference to this object so that method calls can be chained together.
spotInstanceRequestId -
public String getSpotPrice()
public void setSpotPrice(String spotPrice)
spotPrice - public SpotInstanceRequest withSpotPrice(String spotPrice)
Returns a reference to this object so that method calls can be chained together.
spotPrice -
public String getType()
Constraints:
Allowed Values: one-time, persistent
SpotInstanceTypepublic void setType(String type)
Constraints:
Allowed Values: one-time, persistent
type - SpotInstanceTypepublic 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 -
SpotInstanceTypepublic String getState()
public void setState(String state)
state - public SpotInstanceRequest withState(String state)
Returns a reference to this object so that method calls can be chained together.
state -
public SpotInstanceStateFault getFault()
public void setFault(SpotInstanceStateFault fault)
fault - public SpotInstanceRequest withFault(SpotInstanceStateFault fault)
Returns a reference to this object so that method calls can be chained together.
fault -
public Date getValidFrom()
public void setValidFrom(Date validFrom)
validFrom - public SpotInstanceRequest withValidFrom(Date validFrom)
Returns a reference to this object so that method calls can be chained together.
validFrom -
public Date getValidUntil()
public void setValidUntil(Date validUntil)
validUntil - public SpotInstanceRequest withValidUntil(Date validUntil)
Returns a reference to this object so that method calls can be chained together.
validUntil -
public String getLaunchGroup()
public void setLaunchGroup(String launchGroup)
launchGroup - public SpotInstanceRequest withLaunchGroup(String launchGroup)
Returns a reference to this object so that method calls can be chained together.
launchGroup -
public String getAvailabilityZoneGroup()
public void setAvailabilityZoneGroup(String availabilityZoneGroup)
availabilityZoneGroup - public SpotInstanceRequest withAvailabilityZoneGroup(String availabilityZoneGroup)
Returns a reference to this object so that method calls can be chained together.
availabilityZoneGroup -
public LaunchSpecification getLaunchSpecification()
public void setLaunchSpecification(LaunchSpecification launchSpecification)
launchSpecification - public SpotInstanceRequest withLaunchSpecification(LaunchSpecification launchSpecification)
Returns a reference to this object so that method calls can be chained together.
launchSpecification -
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId - public SpotInstanceRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId -
public Date getCreateTime()
public void setCreateTime(Date createTime)
createTime - public SpotInstanceRequest withCreateTime(Date createTime)
Returns a reference to this object so that method calls can be chained together.
createTime -
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription - public SpotInstanceRequest withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription -
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 toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||