@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 the associated instances when the EC2 Fleet is deleted.
|
int |
hashCode() |
Boolean |
isTerminateInstances()
Indicates whether to terminate the associated instances when the EC2 Fleet is deleted.
|
void |
setFleetIds(Collection<String> fleetIds)
The IDs of the EC2 Fleets.
|
void |
setTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate the associated instances when the EC2 Fleet is deleted.
|
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 the associated instances when the EC2 Fleet is deleted.
|
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.
Constraints: In a single request, you can specify up to 25 instant fleet IDs and up to 100
maintain or request fleet IDs.
Constraints: In a single request, you can specify up to 25 instant fleet IDs and up to 100
maintain or request fleet IDs.
public void setFleetIds(Collection<String> fleetIds)
The IDs of the EC2 Fleets.
Constraints: In a single request, you can specify up to 25 instant fleet IDs and up to 100
maintain or request fleet IDs.
fleetIds - The IDs of the EC2 Fleets.
Constraints: In a single request, you can specify up to 25 instant fleet IDs and up to 100
maintain or request fleet IDs.
public DeleteFleetsRequest withFleetIds(String... fleetIds)
The IDs of the EC2 Fleets.
Constraints: In a single request, you can specify up to 25 instant fleet IDs and up to 100
maintain or request fleet IDs.
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.
Constraints: In a single request, you can specify up to 25 instant fleet IDs and up to 100
maintain or request fleet IDs.
public DeleteFleetsRequest withFleetIds(Collection<String> fleetIds)
The IDs of the EC2 Fleets.
Constraints: In a single request, you can specify up to 25 instant fleet IDs and up to 100
maintain or request fleet IDs.
fleetIds - The IDs of the EC2 Fleets.
Constraints: In a single request, you can specify up to 25 instant fleet IDs and up to 100
maintain or request fleet IDs.
public void setTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to terminate the instances.
To let the instances continue to run after the EC2 Fleet is deleted, specify no-terminate-instances.
Supported only for fleets of type maintain and request.
For instant fleets, you cannot specify NoTerminateInstances. A deleted
instant fleet with running instances is not supported.
terminateInstances - Indicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to
terminate the instances.
To let the instances continue to run after the EC2 Fleet is deleted, specify
no-terminate-instances. Supported only for fleets of type maintain and
request.
For instant fleets, you cannot specify NoTerminateInstances. A deleted
instant fleet with running instances is not supported.
public Boolean getTerminateInstances()
Indicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to terminate the instances.
To let the instances continue to run after the EC2 Fleet is deleted, specify no-terminate-instances.
Supported only for fleets of type maintain and request.
For instant fleets, you cannot specify NoTerminateInstances. A deleted
instant fleet with running instances is not supported.
To let the instances continue to run after the EC2 Fleet is deleted, specify
no-terminate-instances. Supported only for fleets of type maintain and
request.
For instant fleets, you cannot specify NoTerminateInstances. A deleted
instant fleet with running instances is not supported.
public DeleteFleetsRequest withTerminateInstances(Boolean terminateInstances)
Indicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to terminate the instances.
To let the instances continue to run after the EC2 Fleet is deleted, specify no-terminate-instances.
Supported only for fleets of type maintain and request.
For instant fleets, you cannot specify NoTerminateInstances. A deleted
instant fleet with running instances is not supported.
terminateInstances - Indicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to
terminate the instances.
To let the instances continue to run after the EC2 Fleet is deleted, specify
no-terminate-instances. Supported only for fleets of type maintain and
request.
For instant fleets, you cannot specify NoTerminateInstances. A deleted
instant fleet with running instances is not supported.
public Boolean isTerminateInstances()
Indicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to terminate the instances.
To let the instances continue to run after the EC2 Fleet is deleted, specify no-terminate-instances.
Supported only for fleets of type maintain and request.
For instant fleets, you cannot specify NoTerminateInstances. A deleted
instant fleet with running instances is not supported.
To let the instances continue to run after the EC2 Fleet is deleted, specify
no-terminate-instances. Supported only for fleets of type maintain and
request.
For instant fleets, you cannot specify NoTerminateInstances. A deleted
instant fleet with running instances is not supported.
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()