CopyableBuilder<DescribeSpotPriceHistoryRequest.Builder,DescribeSpotPriceHistoryRequest>
, SdkBuilder<DescribeSpotPriceHistoryRequest.Builder,DescribeSpotPriceHistoryRequest>
public static interface DescribeSpotPriceHistoryRequest.Builder extends CopyableBuilder<DescribeSpotPriceHistoryRequest.Builder,DescribeSpotPriceHistoryRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeSpotPriceHistoryRequest.Builder |
availabilityZone(String availabilityZone) |
Filters the results by the specified Availability Zone.
|
DescribeSpotPriceHistoryRequest.Builder |
endTime(Date endTime) |
The date and time, up to the current date, from which to stop retrieving the price history data, in UTC
format (for example, YYYY-MM-DDTHH:MM:SSZ).
|
DescribeSpotPriceHistoryRequest.Builder |
filters(Collection<Filter> filters) |
One or more filters.
|
DescribeSpotPriceHistoryRequest.Builder |
filters(Filter... filters) |
One or more filters.
|
DescribeSpotPriceHistoryRequest.Builder |
instanceTypes(String... instanceTypes) |
Filters the results by the specified instance types.
|
DescribeSpotPriceHistoryRequest.Builder |
instanceTypes(Collection<String> instanceTypes) |
Filters the results by the specified instance types.
|
DescribeSpotPriceHistoryRequest.Builder |
instanceTypes(InstanceType... instanceTypes) |
Filters the results by the specified instance types.
|
DescribeSpotPriceHistoryRequest.Builder |
maxResults(Integer maxResults) |
The maximum number of results to return in a single call.
|
DescribeSpotPriceHistoryRequest.Builder |
nextToken(String nextToken) |
The token for the next set of results.
|
DescribeSpotPriceHistoryRequest.Builder |
productDescriptions(String... productDescriptions) |
Filters the results by the specified basic product descriptions.
|
DescribeSpotPriceHistoryRequest.Builder |
productDescriptions(Collection<String> productDescriptions) |
Filters the results by the specified basic product descriptions.
|
DescribeSpotPriceHistoryRequest.Builder |
startTime(Date startTime) |
The date and time, up to the past 90 days, from which to start retrieving the price history data, in UTC
format (for example, YYYY-MM-DDTHH:MM:SSZ).
|
copy
apply, build
DescribeSpotPriceHistoryRequest.Builder filters(Collection<Filter> filters)
One or more filters.
availability-zone
- The Availability Zone for which prices should be returned.
instance-type
- The type of instance (for example, m3.medium
).
product-description
- The product description for the Spot price (Linux/UNIX
|
SUSE Linux
| Windows
| Linux/UNIX (Amazon VPC)
|
SUSE Linux (Amazon VPC)
| Windows (Amazon VPC)
).
spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than or
less than comparison is not supported).
timestamp
- The timestamp of the Spot price history, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater
than or less than comparison is not supported.
filters
- One or more filters.
availability-zone
- The Availability Zone for which prices should be returned.
instance-type
- The type of instance (for example, m3.medium
).
product-description
- The product description for the Spot price (Linux/UNIX
| SUSE Linux
| Windows
| Linux/UNIX (Amazon VPC)
|
SUSE Linux (Amazon VPC)
| Windows (Amazon VPC)
).
spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than
or less than comparison is not supported).
timestamp
- The timestamp of the Spot price history, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?).
Greater than or less than comparison is not supported.
DescribeSpotPriceHistoryRequest.Builder filters(Filter... filters)
One or more filters.
availability-zone
- The Availability Zone for which prices should be returned.
instance-type
- The type of instance (for example, m3.medium
).
product-description
- The product description for the Spot price (Linux/UNIX
|
SUSE Linux
| Windows
| Linux/UNIX (Amazon VPC)
|
SUSE Linux (Amazon VPC)
| Windows (Amazon VPC)
).
spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than or
less than comparison is not supported).
timestamp
- The timestamp of the Spot price history, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater
than or less than comparison is not supported.
NOTE: This method appends the values to the existing list (if any). Use
#setFilters(java.util.Collection)
or #withFilters(java.util.Collection)
if you want to
override the existing values.
filters
- One or more filters.
availability-zone
- The Availability Zone for which prices should be returned.
instance-type
- The type of instance (for example, m3.medium
).
product-description
- The product description for the Spot price (Linux/UNIX
| SUSE Linux
| Windows
| Linux/UNIX (Amazon VPC)
|
SUSE Linux (Amazon VPC)
| Windows (Amazon VPC)
).
spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than
or less than comparison is not supported).
timestamp
- The timestamp of the Spot price history, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?).
Greater than or less than comparison is not supported.
DescribeSpotPriceHistoryRequest.Builder availabilityZone(String availabilityZone)
Filters the results by the specified Availability Zone.
availabilityZone
- Filters the results by the specified Availability Zone.DescribeSpotPriceHistoryRequest.Builder endTime(Date endTime)
The date and time, up to the current date, from which to stop retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
endTime
- The date and time, up to the current date, from which to stop retrieving the price history data, in
UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).DescribeSpotPriceHistoryRequest.Builder instanceTypes(Collection<String> instanceTypes)
Filters the results by the specified instance types. Note that T2 and HS1 instance types are not supported.
instanceTypes
- Filters the results by the specified instance types. Note that T2 and HS1 instance types are not
supported.InstanceType
DescribeSpotPriceHistoryRequest.Builder instanceTypes(String... instanceTypes)
Filters the results by the specified instance types. Note that T2 and HS1 instance types are not supported.
NOTE: This method appends the values to the existing list (if any). Use
#setInstanceTypes(java.util.Collection)
or #withInstanceTypes(java.util.Collection)
if you
want to override the existing values.
instanceTypes
- Filters the results by the specified instance types. Note that T2 and HS1 instance types are not
supported.InstanceType
DescribeSpotPriceHistoryRequest.Builder instanceTypes(InstanceType... instanceTypes)
Filters the results by the specified instance types. Note that T2 and HS1 instance types are not supported.
NOTE: This method appends the values to the existing list (if any). Use
#setInstanceTypes(java.util.Collection)
or #withInstanceTypes(java.util.Collection)
if you
want to override the existing values.
instanceTypes
- Filters the results by the specified instance types. Note that T2 and HS1 instance types are not
supported.InstanceType
DescribeSpotPriceHistoryRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default
value is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify a value between 1 and 1000. The
default value is 1000. To retrieve the remaining results, make another call with the returned
NextToken
value.DescribeSpotPriceHistoryRequest.Builder nextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.DescribeSpotPriceHistoryRequest.Builder productDescriptions(Collection<String> productDescriptions)
Filters the results by the specified basic product descriptions.
productDescriptions
- Filters the results by the specified basic product descriptions.DescribeSpotPriceHistoryRequest.Builder productDescriptions(String... productDescriptions)
Filters the results by the specified basic product descriptions.
NOTE: This method appends the values to the existing list (if any). Use
#setProductDescriptions(java.util.Collection)
or
#withProductDescriptions(java.util.Collection)
if you want to override the existing values.
productDescriptions
- Filters the results by the specified basic product descriptions.DescribeSpotPriceHistoryRequest.Builder startTime(Date startTime)
The date and time, up to the past 90 days, from which to start retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
startTime
- The date and time, up to the past 90 days, from which to start retrieving the price history data, in
UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.