public static interface DescribeSpotPriceHistoryRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeSpotPriceHistoryRequest.Builder,DescribeSpotPriceHistoryRequest>
| Modifier and Type | Method and Description |
|---|---|
DescribeSpotPriceHistoryRequest.Builder |
availabilityZone(String availabilityZone)
Filters the results by the specified Availability Zone.
|
DescribeSpotPriceHistoryRequest.Builder |
endTime(Instant 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(Consumer<Filter.Builder>... filters)
One or more filters.
|
DescribeSpotPriceHistoryRequest.Builder |
filters(Filter... filters)
One or more filters.
|
DescribeSpotPriceHistoryRequest.Builder |
instanceTypes(Collection<InstanceType> instanceTypes)
Filters the results by the specified instance types.
|
DescribeSpotPriceHistoryRequest.Builder |
instanceTypes(InstanceType... instanceTypes)
Filters the results by the specified instance types.
|
DescribeSpotPriceHistoryRequest.Builder |
instanceTypesWithStrings(Collection<String> instanceTypes)
Filters the results by the specified instance types.
|
DescribeSpotPriceHistoryRequest.Builder |
instanceTypesWithStrings(String... instanceTypes)
Filters the results by the specified instance types.
|
DescribeSpotPriceHistoryRequest.Builder |
maxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeSpotPriceHistoryRequest.Builder |
nextToken(String nextToken)
The token returned from a previous paginated request.
|
DescribeSpotPriceHistoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DescribeSpotPriceHistoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DescribeSpotPriceHistoryRequest.Builder |
productDescriptions(Collection<String> productDescriptions)
Filters the results by the specified basic product descriptions.
|
DescribeSpotPriceHistoryRequest.Builder |
productDescriptions(String... productDescriptions)
Filters the results by the specified basic product descriptions.
|
DescribeSpotPriceHistoryRequest.Builder |
startTime(Instant 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).
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeSpotPriceHistoryRequest.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 |
Red Hat Enterprise Linux | SUSE Linux | Windows |
Linux/UNIX (Amazon VPC) | Red Hat Enterprise Linux (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 time stamp 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
| Red Hat Enterprise Linux | SUSE Linux | Windows |
Linux/UNIX (Amazon VPC) | Red Hat Enterprise Linux (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 time stamp 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 |
Red Hat Enterprise Linux | SUSE Linux | Windows |
Linux/UNIX (Amazon VPC) | Red Hat Enterprise Linux (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 time stamp 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
| Red Hat Enterprise Linux | SUSE Linux | Windows |
Linux/UNIX (Amazon VPC) | Red Hat Enterprise Linux (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 time stamp 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(Consumer<Filter.Builder>... 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 |
Red Hat Enterprise Linux | SUSE Linux | Windows |
Linux/UNIX (Amazon VPC) | Red Hat Enterprise Linux (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 time stamp 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.
Filter.Builder avoiding the need to create one manually via
Filter.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #filters(List.
filters - a consumer that will call methods on Filter.Builder#filters(java.util.Collection) 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(Instant 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 instanceTypesWithStrings(Collection<String> instanceTypes)
Filters the results by the specified instance types.
instanceTypes - Filters the results by the specified instance types.DescribeSpotPriceHistoryRequest.Builder instanceTypesWithStrings(String... instanceTypes)
Filters the results by the specified instance types.
instanceTypes - Filters the results by the specified instance types.DescribeSpotPriceHistoryRequest.Builder instanceTypes(Collection<InstanceType> instanceTypes)
Filters the results by the specified instance types.
instanceTypes - Filters the results by the specified instance types.DescribeSpotPriceHistoryRequest.Builder instanceTypes(InstanceType... instanceTypes)
Filters the results by the specified instance types.
instanceTypes - Filters the results by the specified instance types.DescribeSpotPriceHistoryRequest.Builder maxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults - The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.DescribeSpotPriceHistoryRequest.Builder nextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken - The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.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.
productDescriptions - Filters the results by the specified basic product descriptions.DescribeSpotPriceHistoryRequest.Builder startTime(Instant 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).DescribeSpotPriceHistoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDescribeSpotPriceHistoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.