public class CancelSpotInstanceRequestsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of CancelSpotInstanceRequests.
Constructor and Description |
---|
CancelSpotInstanceRequestsResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.util.List<CancelledSpotInstanceRequest> getCancelledSpotInstanceRequests()
public void setCancelledSpotInstanceRequests(java.util.Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
cancelledSpotInstanceRequests
- One or more Spot instance requests.public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
Returns a reference to this object so that method calls can be chained together.
cancelledSpotInstanceRequests
- One or more Spot instance requests.public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.