public class DescribeSpotPriceHistoryOptions extends BaseEC2RequestOptions
import static org.jclouds.aws.ec2.options.DescribeSpotPriceHistoryOptions.Builder.*
AWSEC2Api client = // get connection
history = client.getSpotInstanceServices().describeSpotPriceHistoryInRegion(from(yesterday).instanceType("m1.small"));
Modifier and Type | Class and Description |
---|---|
static class |
DescribeSpotPriceHistoryOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static DescribeSpotPriceHistoryOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
DescribeSpotPriceHistoryOptions() |
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.
|
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public static final DescribeSpotPriceHistoryOptions NONE
public DescribeSpotPriceHistoryOptions from(Date start)
public DescribeSpotPriceHistoryOptions to(Date end)
public DescribeSpotPriceHistoryOptions instanceType(String type)
public DescribeSpotPriceHistoryOptions productDescription(String description)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.