@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifySpotFleetRequestRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifySpotFleetRequestRequest>
Contains the parameters for ModifySpotFleetRequest.
NOOP| Constructor and Description |
|---|
ModifySpotFleetRequestRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifySpotFleetRequestRequest |
clone() |
boolean |
equals(Object obj) |
Request<ModifySpotFleetRequestRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getExcessCapacityTerminationPolicy()
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is
decreased below the current size of the Spot Fleet.
|
Integer |
getOnDemandTargetCapacity()
The number of On-Demand Instances in the fleet.
|
String |
getSpotFleetRequestId()
The ID of the Spot Fleet request.
|
Integer |
getTargetCapacity()
The size of the fleet.
|
int |
hashCode() |
void |
setExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is
decreased below the current size of the Spot Fleet.
|
void |
setExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is
decreased below the current size of the Spot Fleet.
|
void |
setOnDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand Instances in the fleet.
|
void |
setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot Fleet request.
|
void |
setTargetCapacity(Integer targetCapacity)
The size of the fleet.
|
String |
toString()
Returns a string representation of this object.
|
ModifySpotFleetRequestRequest |
withExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is
decreased below the current size of the Spot Fleet.
|
ModifySpotFleetRequestRequest |
withExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is
decreased below the current size of the Spot Fleet.
|
ModifySpotFleetRequestRequest |
withOnDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand Instances in the fleet.
|
ModifySpotFleetRequestRequest |
withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot Fleet request.
|
ModifySpotFleetRequestRequest |
withTargetCapacity(Integer targetCapacity)
The size of the 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, withSdkRequestTimeoutpublic void setExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
excessCapacityTerminationPolicy - Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet
request is decreased below the current size of the Spot Fleet.ExcessCapacityTerminationPolicypublic String getExcessCapacityTerminationPolicy()
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
ExcessCapacityTerminationPolicypublic ModifySpotFleetRequestRequest withExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
excessCapacityTerminationPolicy - Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet
request is decreased below the current size of the Spot Fleet.ExcessCapacityTerminationPolicypublic void setExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
excessCapacityTerminationPolicy - Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet
request is decreased below the current size of the Spot Fleet.ExcessCapacityTerminationPolicypublic ModifySpotFleetRequestRequest withExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
excessCapacityTerminationPolicy - Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet
request is decreased below the current size of the Spot Fleet.ExcessCapacityTerminationPolicypublic void setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot Fleet request.
spotFleetRequestId - The ID of the Spot Fleet request.public String getSpotFleetRequestId()
The ID of the Spot Fleet request.
public ModifySpotFleetRequestRequest withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot Fleet request.
spotFleetRequestId - The ID of the Spot Fleet request.public void setTargetCapacity(Integer targetCapacity)
The size of the fleet.
targetCapacity - The size of the fleet.public Integer getTargetCapacity()
The size of the fleet.
public ModifySpotFleetRequestRequest withTargetCapacity(Integer targetCapacity)
The size of the fleet.
targetCapacity - The size of the fleet.public void setOnDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand Instances in the fleet.
onDemandTargetCapacity - The number of On-Demand Instances in the fleet.public Integer getOnDemandTargetCapacity()
The number of On-Demand Instances in the fleet.
public ModifySpotFleetRequestRequest withOnDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand Instances in the fleet.
onDemandTargetCapacity - The number of On-Demand Instances in the fleet.public Request<ModifySpotFleetRequestRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifySpotFleetRequestRequest>public String toString()
toString in class ObjectObject.toString()public ModifySpotFleetRequestRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.