public class CancelledSpotInstanceRequest extends Object implements Serializable
Constructor and Description |
---|
CancelledSpotInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSpotInstanceRequestId()
Returns the value of the SpotInstanceRequestId property for this
object.
|
String |
getState()
Returns the value of the State property for this object.
|
int |
hashCode() |
void |
setSpotInstanceRequestId(String spotInstanceRequestId)
Sets the value of the SpotInstanceRequestId property for this object.
|
void |
setState(CancelSpotInstanceRequestState state)
Sets the value of the State property for this object.
|
void |
setState(String state)
Sets the value of the State property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelledSpotInstanceRequest |
withSpotInstanceRequestId(String spotInstanceRequestId)
Sets the value of the SpotInstanceRequestId property for this object.
|
CancelledSpotInstanceRequest |
withState(CancelSpotInstanceRequestState state)
Sets the value of the State property for this object.
|
CancelledSpotInstanceRequest |
withState(String state)
Sets the value of the State property for this object.
|
public String getSpotInstanceRequestId()
public void setSpotInstanceRequestId(String spotInstanceRequestId)
spotInstanceRequestId
- The new value for the SpotInstanceRequestId property for this object.public CancelledSpotInstanceRequest withSpotInstanceRequestId(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 String getState()
Constraints:
Allowed Values: active, open, closed, cancelled, completed
CancelSpotInstanceRequestState
public void setState(String state)
Constraints:
Allowed Values: active, open, closed, cancelled, completed
state
- The new value for the State property for this object.CancelSpotInstanceRequestState
public CancelledSpotInstanceRequest withState(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 new value for the State property for this object.CancelSpotInstanceRequestState
public void setState(CancelSpotInstanceRequestState state)
Constraints:
Allowed Values: active, open, closed, cancelled, completed
state
- The new value for the State property for this object.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 new value for the State property for this object.CancelSpotInstanceRequestState
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.