@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelSpotInstanceRequestsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of CancelSpotInstanceRequests.
Constructor and Description |
---|
CancelSpotInstanceRequestsResult() |
Modifier and Type | Method and Description |
---|---|
CancelSpotInstanceRequestsResult |
clone() |
boolean |
equals(Object obj) |
List<CancelledSpotInstanceRequest> |
getCancelledSpotInstanceRequests()
The Spot Instance requests.
|
int |
hashCode() |
void |
setCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
The Spot Instance requests.
|
String |
toString()
Returns a string representation of this object.
|
CancelSpotInstanceRequestsResult |
withCancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
The Spot Instance requests.
|
CancelSpotInstanceRequestsResult |
withCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
The Spot Instance requests.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CancelledSpotInstanceRequest> getCancelledSpotInstanceRequests()
The Spot Instance requests.
public void setCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
The Spot Instance requests.
cancelledSpotInstanceRequests
- The Spot Instance requests.public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
The Spot Instance requests.
NOTE: This method appends the values to the existing list (if any). Use
setCancelledSpotInstanceRequests(java.util.Collection)
or
withCancelledSpotInstanceRequests(java.util.Collection)
if you want to override the existing values.
cancelledSpotInstanceRequests
- The Spot Instance requests.public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
The Spot Instance requests.
cancelledSpotInstanceRequests
- The Spot Instance requests.public String toString()
toString
in class Object
Object.toString()
public CancelSpotInstanceRequestsResult clone()