public class CancelSpotInstanceRequestsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of CancelSpotInstanceRequests.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<CancelledSpotInstanceRequest> |
cancelledSpotInstanceRequests
One or more Spot instance requests.
|
Constructor and Description |
---|
CancelSpotInstanceRequestsResult() |
Modifier and Type | Method and Description |
---|---|
CancelSpotInstanceRequestsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<CancelledSpotInstanceRequest> |
getCancelledSpotInstanceRequests()
One or more Spot instance requests.
|
int |
hashCode() |
void |
setCancelledSpotInstanceRequests(java.util.Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot instance requests.
|
java.lang.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(java.util.Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot instance requests.
|
private SdkInternalList<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests
One or more Spot instance requests.
public java.util.List<CancelledSpotInstanceRequest> getCancelledSpotInstanceRequests()
One or more Spot instance requests.
public void setCancelledSpotInstanceRequests(java.util.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(java.util.Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot instance requests.
cancelledSpotInstanceRequests
- One or more Spot instance requests.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CancelSpotInstanceRequestsResult clone()
clone
in class java.lang.Object