@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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, withSdkRequestTimeout
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.ExcessCapacityTerminationPolicy
public 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.
ExcessCapacityTerminationPolicy
public 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.ExcessCapacityTerminationPolicy
public 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.ExcessCapacityTerminationPolicy
public 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.ExcessCapacityTerminationPolicy
public 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 Request<ModifySpotFleetRequestRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifySpotFleetRequestRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifySpotFleetRequestRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.