|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.CancelledSpotInstanceRequest
public class CancelledSpotInstanceRequest
Cancelled Spot Instance Request
Constructor Summary | |
---|---|
CancelledSpotInstanceRequest()
|
Method Summary | |
---|---|
java.lang.String |
getSpotInstanceRequestId()
Returns the value of the SpotInstanceRequestId property for this object. |
java.lang.String |
getState()
Returns the value of the State property for this object. |
void |
setSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
Sets the value of the SpotInstanceRequestId property for this object. |
void |
setState(java.lang.String state)
Sets the value of the State property for this object. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CancelledSpotInstanceRequest |
withSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
Sets the value of the SpotInstanceRequestId property for this object. |
CancelledSpotInstanceRequest |
withState(java.lang.String state)
Sets the value of the State property for this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CancelledSpotInstanceRequest()
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 CancelledSpotInstanceRequest 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 getState()
public void setState(java.lang.String state)
state
- The new value for the State property for this object.public CancelledSpotInstanceRequest 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 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 |