|
|||||||
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
Describes a request to cancel a Spot Instance.
Constructor Summary | |
---|---|
CancelledSpotInstanceRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getSpotInstanceRequestId()
The ID of the Spot Instance request. |
java.lang.String |
getState()
The state of the Spot Instance request. |
int |
hashCode()
|
void |
setSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
The ID of the Spot Instance request. |
void |
setState(CancelSpotInstanceRequestState state)
The state of the Spot Instance request. |
void |
setState(java.lang.String state)
The state of the Spot Instance request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CancelledSpotInstanceRequest |
withSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
The ID of the Spot Instance request. |
CancelledSpotInstanceRequest |
withState(CancelSpotInstanceRequestState state)
The state of the Spot Instance request. |
CancelledSpotInstanceRequest |
withState(java.lang.String state)
The state of the Spot Instance request. |
Methods inherited from class java.lang.Object |
---|
getClass, 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 ID of the Spot Instance request.public CancelledSpotInstanceRequest withSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
Returns a reference to this object so that method calls can be chained together.
spotInstanceRequestId
- The ID of the Spot Instance request.
public java.lang.String getState()
Constraints:
Allowed Values: active, open, closed, cancelled, completed
CancelSpotInstanceRequestState
public void setState(java.lang.String state)
Constraints:
Allowed Values: active, open, closed, cancelled, completed
state
- The state of the Spot Instance request.CancelSpotInstanceRequestState
public CancelledSpotInstanceRequest withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, open, closed, cancelled, completed
state
- The state of the Spot Instance request.
CancelSpotInstanceRequestState
public void setState(CancelSpotInstanceRequestState state)
Constraints:
Allowed Values: active, open, closed, cancelled, completed
state
- The state of the Spot Instance request.CancelSpotInstanceRequestState
public CancelledSpotInstanceRequest withState(CancelSpotInstanceRequestState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, open, closed, cancelled, completed
state
- The state of the Spot Instance request.
CancelSpotInstanceRequestState
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 |