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
public class DescribeSpotPriceHistoryOptions extends BaseEC2RequestOptions
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"));
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescribeSpotPriceHistoryOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static DescribeSpotPriceHistoryOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description DescribeSpotPriceHistoryOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeSpotPriceHistoryOptions
from(Date start)
Start date and time of the Spot Instance price history data.DescribeSpotPriceHistoryOptions
instanceType(String type)
Specifies the instance type to return.DescribeSpotPriceHistoryOptions
productDescription(String description)
The description of the AMI.DescribeSpotPriceHistoryOptions
to(Date end)
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 Detail
-
NONE
public static final DescribeSpotPriceHistoryOptions NONE
-
-
Method Detail
-
from
public DescribeSpotPriceHistoryOptions from(Date start)
Start date and time of the Spot Instance price history data.
-
to
public DescribeSpotPriceHistoryOptions to(Date end)
End date and time of the Spot Instance price history data.
-
instanceType
public DescribeSpotPriceHistoryOptions instanceType(String type)
Specifies the instance type to return.
-
productDescription
public DescribeSpotPriceHistoryOptions productDescription(String description)
The description of the AMI.
-
-