@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelSpotInstanceRequestsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CancelSpotInstanceRequestsRequest>
Contains the parameters for CancelSpotInstanceRequests.
NOOP
Constructor and Description |
---|
CancelSpotInstanceRequestsRequest()
Default constructor for CancelSpotInstanceRequestsRequest object.
|
CancelSpotInstanceRequestsRequest(List<String> spotInstanceRequestIds)
Constructs a new CancelSpotInstanceRequestsRequest object.
|
Modifier and Type | Method and Description |
---|---|
CancelSpotInstanceRequestsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<CancelSpotInstanceRequestsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getSpotInstanceRequestIds()
The IDs of the Spot Instance requests.
|
int |
hashCode() |
void |
setSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
The IDs of the Spot Instance requests.
|
String |
toString()
Returns a string representation of this object.
|
CancelSpotInstanceRequestsRequest |
withSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
The IDs of the Spot Instance requests.
|
CancelSpotInstanceRequestsRequest |
withSpotInstanceRequestIds(String... spotInstanceRequestIds)
The IDs of the Spot Instance requests.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CancelSpotInstanceRequestsRequest()
public CancelSpotInstanceRequestsRequest(List<String> spotInstanceRequestIds)
spotInstanceRequestIds
- The IDs of the Spot Instance requests.public List<String> getSpotInstanceRequestIds()
The IDs of the Spot Instance requests.
public void setSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
The IDs of the Spot Instance requests.
spotInstanceRequestIds
- The IDs of the Spot Instance requests.public CancelSpotInstanceRequestsRequest withSpotInstanceRequestIds(String... spotInstanceRequestIds)
The IDs of the Spot Instance requests.
NOTE: This method appends the values to the existing list (if any). Use
setSpotInstanceRequestIds(java.util.Collection)
or
withSpotInstanceRequestIds(java.util.Collection)
if you want to override the existing values.
spotInstanceRequestIds
- The IDs of the Spot Instance requests.public CancelSpotInstanceRequestsRequest withSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
The IDs of the Spot Instance requests.
spotInstanceRequestIds
- The IDs of the Spot Instance requests.public Request<CancelSpotInstanceRequestsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CancelSpotInstanceRequestsRequest>
public String toString()
toString
in class Object
Object.toString()
public CancelSpotInstanceRequestsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()