public class RequestSpotFleetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<RequestSpotFleetRequest>
RequestSpotFleet operation.
Creates a Spot fleet request.
You can submit a single request that specifies multiple instance types, each with its own instance weighting that reflects its value to your application workload. Amazon EC2 computes the bid price for each launch specification and requests Spot Instances in the Spot pool where the price per unit is the lowest. For more information, see Spot Fleets in the Amazon Elastic Compute Cloud User Guide .
NOOP| Constructor and Description |
|---|
RequestSpotFleetRequest() |
| Modifier and Type | Method and Description |
|---|---|
RequestSpotFleetRequest |
clone() |
boolean |
equals(Object obj) |
Request<RequestSpotFleetRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
SpotFleetRequestConfigData |
getSpotFleetRequestConfig()
The configuration for the Spot fleet request.
|
int |
hashCode() |
void |
setSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
The configuration for the Spot fleet request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RequestSpotFleetRequest |
withSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
The configuration for the Spot fleet request.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic SpotFleetRequestConfigData getSpotFleetRequestConfig()
public void setSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
spotFleetRequestConfig - The configuration for the Spot fleet request.public RequestSpotFleetRequest withSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
Returns a reference to this object so that method calls can be chained together.
spotFleetRequestConfig - The configuration for the Spot fleet request.public Request<RequestSpotFleetRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<RequestSpotFleetRequest>public String toString()
toString in class ObjectObject.toString()public RequestSpotFleetRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.