public class CancelSpotInstanceRequestsResult extends Object 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.
|
public List<CancelledSpotInstanceRequest> getCancelledSpotInstanceRequests()
public void setCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
cancelledSpotInstanceRequests - One or more Spot instance requests.public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
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.
Returns a reference to this object so that method calls can be chained together.
cancelledSpotInstanceRequests - One or more Spot instance requests.public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
Returns a reference to this object so that method calls can be chained together.
cancelledSpotInstanceRequests - One or more Spot instance requests.public String toString()
toString in class ObjectObject.toString()public CancelSpotInstanceRequestsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.