@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelledSpotInstanceRequest extends Object implements Serializable, Cloneable
Describes a request to cancel a Spot instance.
| Constructor and Description |
|---|
CancelledSpotInstanceRequest() |
| Modifier and Type | Method and Description |
|---|---|
CancelledSpotInstanceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getSpotInstanceRequestId()
The ID of the Spot instance request.
|
String |
getState()
The state of the Spot instance request.
|
int |
hashCode() |
void |
setSpotInstanceRequestId(String spotInstanceRequestId)
The ID of the Spot instance request.
|
void |
setState(CancelSpotInstanceRequestState state)
The state of the Spot instance request.
|
void |
setState(String state)
The state of the Spot instance request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CancelledSpotInstanceRequest |
withSpotInstanceRequestId(String spotInstanceRequestId)
The ID of the Spot instance request.
|
CancelledSpotInstanceRequest |
withState(CancelSpotInstanceRequestState state)
The state of the Spot instance request.
|
CancelledSpotInstanceRequest |
withState(String state)
The state of the Spot instance request.
|
public void setSpotInstanceRequestId(String spotInstanceRequestId)
The ID of the Spot instance request.
spotInstanceRequestId - The ID of the Spot instance request.public String getSpotInstanceRequestId()
The ID of the Spot instance request.
public CancelledSpotInstanceRequest withSpotInstanceRequestId(String spotInstanceRequestId)
The ID of the Spot instance request.
spotInstanceRequestId - The ID of the Spot instance request.public void setState(String state)
The state of the Spot instance request.
state - The state of the Spot instance request.CancelSpotInstanceRequestStatepublic String getState()
The state of the Spot instance request.
CancelSpotInstanceRequestStatepublic CancelledSpotInstanceRequest withState(String state)
The state of the Spot instance request.
state - The state of the Spot instance request.CancelSpotInstanceRequestStatepublic void setState(CancelSpotInstanceRequestState state)
The state of the Spot instance request.
state - The state of the Spot instance request.CancelSpotInstanceRequestStatepublic CancelledSpotInstanceRequest withState(CancelSpotInstanceRequestState state)
The state of the Spot instance request.
state - The state of the Spot instance request.CancelSpotInstanceRequestStatepublic String toString()
toString in class ObjectObject.toString()public CancelledSpotInstanceRequest clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.