@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() |
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 instances when the EC2 Fleet is deleted.
|
int |
hashCode() |
Boolean |
isTerminateInstances()
Indicates whether to terminate the 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 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 instances when the EC2 Fleet is deleted.
|
addHandlerContext, copyBaseTo, 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> 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 the 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 NoTerminateInstances
.
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 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
NoTerminateInstances
. 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 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 NoTerminateInstances
.
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
NoTerminateInstances
. 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 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 NoTerminateInstances
.
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 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
NoTerminateInstances
. 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 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 NoTerminateInstances
.
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
NoTerminateInstances
. 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 Object
Object.toString()
public DeleteFleetsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2022. All rights reserved.