@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteFleetsRequest>
NOOP| Constructor and Description |
|---|
DeleteFleetsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteFleetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DeleteFleetsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getFleetIds()
The IDs of the EC2 Fleets.
|
Boolean |
getTerminateInstances()
Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.
|
int |
hashCode() |
Boolean |
isTerminateInstances()
Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.
|
void |
setFleetIds(Collection<String> fleetIds)
The IDs of the EC2 Fleets.
|
void |
setTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.
|
String |
toString()
Returns a string representation of this object.
|
DeleteFleetsRequest |
withFleetIds(Collection<String> fleetIds)
The IDs of the EC2 Fleets.
|
DeleteFleetsRequest |
withFleetIds(String... fleetIds)
The IDs of the EC2 Fleets.
|
DeleteFleetsRequest |
withTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate instances for an EC2 Fleet if it is deleted 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, withSdkRequestTimeoutpublic List<String> getFleetIds()
The IDs of the EC2 Fleets.
public void setFleetIds(Collection<String> fleetIds)
The IDs of the EC2 Fleets.
fleetIds - The IDs of the EC2 Fleets.public DeleteFleetsRequest withFleetIds(String... fleetIds)
The IDs of the EC2 Fleets.
NOTE: This method appends the values to the existing list (if any). Use
setFleetIds(java.util.Collection) or withFleetIds(java.util.Collection) if you want to override
the existing values.
fleetIds - The IDs of the EC2 Fleets.public DeleteFleetsRequest withFleetIds(Collection<String> fleetIds)
The IDs of the EC2 Fleets.
fleetIds - The IDs of the EC2 Fleets.public void setTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.
terminateInstances - Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.public Boolean getTerminateInstances()
Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.
public DeleteFleetsRequest withTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.
terminateInstances - Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.public Boolean isTerminateInstances()
Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.
public Request<DeleteFleetsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteFleetsRequest>public String toString()
toString in class ObjectObject.toString()public DeleteFleetsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.