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 results to return in a single call.
|
DescribeSpotPriceHistoryRequest.Builder |
nextToken(String nextToken)
The token for the next set of results.
|
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).
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, 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
|
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.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
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 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.
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.Builder
DescribeSpotPriceHistoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.