@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()
One or more Spot instance request IDs.
|
int |
hashCode() |
void |
setSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
One or more Spot instance request IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CancelSpotInstanceRequestsRequest |
withSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
One or more Spot instance request IDs.
|
CancelSpotInstanceRequestsRequest |
withSpotInstanceRequestIds(String... spotInstanceRequestIds)
One or more Spot instance request IDs.
|
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
- One or more Spot instance request IDs.public List<String> getSpotInstanceRequestIds()
One or more Spot instance request IDs.
public void setSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
One or more Spot instance request IDs.
spotInstanceRequestIds
- One or more Spot instance request IDs.public CancelSpotInstanceRequestsRequest withSpotInstanceRequestIds(String... spotInstanceRequestIds)
One or more Spot instance request IDs.
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
- One or more Spot instance request IDs.public CancelSpotInstanceRequestsRequest withSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
One or more Spot instance request IDs.
spotInstanceRequestIds
- One or more Spot instance request IDs.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.