public static interface GetProductsRequest.Builder extends PricingRequest.Builder, CopyableBuilder<GetProductsRequest.Builder,GetProductsRequest>
Modifier and Type | Method and Description |
---|---|
GetProductsRequest.Builder |
filters(Collection<Filter> filters)
The list of filters that limit the returned products.
|
GetProductsRequest.Builder |
filters(Consumer<Filter.Builder>... filters)
The list of filters that limit the returned products.
|
GetProductsRequest.Builder |
filters(Filter... filters)
The list of filters that limit the returned products.
|
GetProductsRequest.Builder |
formatVersion(String formatVersion)
The format version that you want the response to be in.
|
GetProductsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return in the response.
|
GetProductsRequest.Builder |
nextToken(String nextToken)
The pagination token that indicates the next set of results that you want to retrieve.
|
GetProductsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetProductsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetProductsRequest.Builder |
serviceCode(String serviceCode)
The code for the service whose products you want to retrieve.
|
build
overrideConfiguration
copy
applyMutation, build
GetProductsRequest.Builder serviceCode(String serviceCode)
The code for the service whose products you want to retrieve.
serviceCode
- The code for the service whose products you want to retrieve.GetProductsRequest.Builder filters(Collection<Filter> filters)
The list of filters that limit the returned products. only products that match all filters are returned.
filters
- The list of filters that limit the returned products. only products that match all filters are
returned.GetProductsRequest.Builder filters(Filter... filters)
The list of filters that limit the returned products. only products that match all filters are returned.
filters
- The list of filters that limit the returned products. only products that match all filters are
returned.GetProductsRequest.Builder filters(Consumer<Filter.Builder>... filters)
The list of filters that limit the returned products. only products that match all filters are returned.
This is a convenience that creates an instance of theList.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)
GetProductsRequest.Builder formatVersion(String formatVersion)
The format version that you want the response to be in.
Valid values are: aws_v1
formatVersion
- The format version that you want the response to be in.
Valid values are: aws_v1
GetProductsRequest.Builder nextToken(String nextToken)
The pagination token that indicates the next set of results that you want to retrieve.
nextToken
- The pagination token that indicates the next set of results that you want to retrieve.GetProductsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.GetProductsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetProductsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.