Package org.jclouds.aws.ec2.options
Class DescribeSpotPriceHistoryOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.ec2.options.internal.BaseEC2RequestOptions
org.jclouds.aws.ec2.options.DescribeSpotPriceHistoryOptions
- All Implemented Interfaces:
HttpRequestOptions
Contains options supported in the Form API for the DescribeSpotPriceHistory operation.
Usage
The recommended way to instantiate a DescribeSpotPriceHistoryOptions object is to statically import DescribeSpotPriceHistoryOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):
import static org.jclouds.aws.ec2.options.DescribeSpotPriceHistoryOptions.Builder.*
AWSEC2Api client = // get connection
history = client.getSpotInstanceServices().describeSpotPriceHistoryInRegion(from(yesterday).instanceType("m1.small"));
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStart date and time of the Spot Instance price history data.instanceType
(String type) Specifies the instance type to return.productDescription
(String description) The description of the AMI.End date and time of the Spot Instance price history data.Methods inherited from class org.jclouds.ec2.options.internal.BaseEC2RequestOptions
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
-
Field Details
-
NONE
-
-
Constructor Details
-
DescribeSpotPriceHistoryOptions
public DescribeSpotPriceHistoryOptions()
-
-
Method Details
-
from
Start date and time of the Spot Instance price history data. -
to
End date and time of the Spot Instance price history data. -
instanceType
Specifies the instance type to return. -
productDescription
The description of the AMI.
-