@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyFleetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyFleetRequest>
NOOP
Constructor and Description |
---|
ModifyFleetRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyFleetRequest |
clone() |
boolean |
equals(Object obj) |
Request<ModifyFleetRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getExcessCapacityTerminationPolicy()
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is
decreased below the current size of the EC2 Fleet.
|
String |
getFleetId()
The ID of the EC2 Fleet.
|
TargetCapacitySpecificationRequest |
getTargetCapacitySpecification()
The size of the EC2 Fleet.
|
int |
hashCode() |
void |
setExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is
decreased below the current size of the EC2 Fleet.
|
void |
setFleetId(String fleetId)
The ID of the EC2 Fleet.
|
void |
setTargetCapacitySpecification(TargetCapacitySpecificationRequest targetCapacitySpecification)
The size of the EC2 Fleet.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyFleetRequest |
withExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is
decreased below the current size of the EC2 Fleet.
|
ModifyFleetRequest |
withExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is
decreased below the current size of the EC2 Fleet.
|
ModifyFleetRequest |
withFleetId(String fleetId)
The ID of the EC2 Fleet.
|
ModifyFleetRequest |
withTargetCapacitySpecification(TargetCapacitySpecificationRequest targetCapacitySpecification)
The size of the EC2 Fleet.
|
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 void setExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
excessCapacityTerminationPolicy
- Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is
decreased below the current size of the EC2 Fleet.FleetExcessCapacityTerminationPolicy
public String getExcessCapacityTerminationPolicy()
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
FleetExcessCapacityTerminationPolicy
public ModifyFleetRequest withExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
excessCapacityTerminationPolicy
- Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is
decreased below the current size of the EC2 Fleet.FleetExcessCapacityTerminationPolicy
public ModifyFleetRequest withExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
excessCapacityTerminationPolicy
- Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is
decreased below the current size of the EC2 Fleet.FleetExcessCapacityTerminationPolicy
public void setFleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.public String getFleetId()
The ID of the EC2 Fleet.
public ModifyFleetRequest withFleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.public void setTargetCapacitySpecification(TargetCapacitySpecificationRequest targetCapacitySpecification)
The size of the EC2 Fleet.
targetCapacitySpecification
- The size of the EC2 Fleet.public TargetCapacitySpecificationRequest getTargetCapacitySpecification()
The size of the EC2 Fleet.
public ModifyFleetRequest withTargetCapacitySpecification(TargetCapacitySpecificationRequest targetCapacitySpecification)
The size of the EC2 Fleet.
targetCapacitySpecification
- The size of the EC2 Fleet.public Request<ModifyFleetRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyFleetRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyFleetRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.