@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelSpotFleetRequestsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CancelSpotFleetRequestsRequest>
Contains the parameters for CancelSpotFleetRequests.
NOOP
Constructor and Description |
---|
CancelSpotFleetRequestsRequest() |
Modifier and Type | Method and Description |
---|---|
CancelSpotFleetRequestsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<CancelSpotFleetRequestsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getSpotFleetRequestIds()
The IDs of the Spot fleet requests.
|
Boolean |
getTerminateInstances()
Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.
|
int |
hashCode() |
Boolean |
isTerminateInstances()
Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.
|
void |
setSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
|
void |
setTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CancelSpotFleetRequestsRequest |
withSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
|
CancelSpotFleetRequestsRequest |
withSpotFleetRequestIds(String... spotFleetRequestIds)
The IDs of the Spot fleet requests.
|
CancelSpotFleetRequestsRequest |
withTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.
|
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 List<String> getSpotFleetRequestIds()
The IDs of the Spot fleet requests.
public void setSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public CancelSpotFleetRequestsRequest withSpotFleetRequestIds(String... spotFleetRequestIds)
The IDs of the Spot fleet requests.
NOTE: This method appends the values to the existing list (if any). Use
setSpotFleetRequestIds(java.util.Collection)
or withSpotFleetRequestIds(java.util.Collection)
if you want to override the existing values.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public CancelSpotFleetRequestsRequest withSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public void setTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.
terminateInstances
- Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.public Boolean getTerminateInstances()
Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.
public CancelSpotFleetRequestsRequest withTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.
terminateInstances
- Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.public Boolean isTerminateInstances()
Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully.
public Request<CancelSpotFleetRequestsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CancelSpotFleetRequestsRequest>
public String toString()
toString
in class Object
Object.toString()
public CancelSpotFleetRequestsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.