@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()
One or more Spot instance requests.
|
int |
hashCode() |
void |
setCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot instance requests.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CancelSpotInstanceRequestsResult |
withCancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
One or more Spot instance requests.
|
CancelSpotInstanceRequestsResult |
withCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot instance requests.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CancelledSpotInstanceRequest> getCancelledSpotInstanceRequests()
One or more Spot instance requests.
public void setCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot instance requests.
cancelledSpotInstanceRequests
- One or more Spot instance requests.public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
One or more 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
- One or more Spot instance requests.public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot instance requests.
cancelledSpotInstanceRequests
- One or more Spot instance requests.public String toString()
toString
in class Object
Object.toString()
public CancelSpotInstanceRequestsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.