public class DescribeSpotPriceHistoryOptions extends BaseEC2RequestOptions
import static org.jclouds.aws.ec2.options.DescribeSpotPriceHistoryOptions.Builder.*
AWSEC2Client client = // get connection
history = client.getSpotInstanceServices().describeSpotPriceHistoryInRegion(from(yesterday).instanceType("m1.small"));
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
DescribeSpotPriceHistoryOptions.Builder
-
Field Summary
Fields
Modifier and Type
Field and Description
static DescribeSpotPriceHistoryOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors
Constructor and Description
DescribeSpotPriceHistoryOptions()
-
Method Summary
Methods
Modifier and Type
Method and 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, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, 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.
Copyright © 2009-2012 jclouds. All Rights Reserved.