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.
|
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 |
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; useful for testing and
debugging.
|
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 |
withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
ModifySpotFleetRequestRequest |
withTargetCapacity(Integer targetCapacity)
The size of the fleet.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 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 Request<ModifySpotFleetRequestRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifySpotFleetRequestRequest>public String toString()
toString in class ObjectObject.toString()public ModifySpotFleetRequestRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.