Interface GetProductsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetProductsRequest.Builder,GetProductsRequest>,PricingRequest.Builder,SdkBuilder<GetProductsRequest.Builder,GetProductsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetProductsRequest
public static interface GetProductsRequest.Builder extends PricingRequest.Builder, SdkPojo, CopyableBuilder<GetProductsRequest.Builder,GetProductsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetProductsRequest.Builderfilters(Collection<Filter> filters)The list of filters that limit the returned products.GetProductsRequest.Builderfilters(Consumer<Filter.Builder>... filters)The list of filters that limit the returned products.GetProductsRequest.Builderfilters(Filter... filters)The list of filters that limit the returned products.GetProductsRequest.BuilderformatVersion(String formatVersion)The format version that you want the response to be in.GetProductsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the response.GetProductsRequest.BuildernextToken(String nextToken)The pagination token that indicates the next set of results that you want to retrieve.GetProductsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetProductsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetProductsRequest.BuilderserviceCode(String serviceCode)The code for the service whose products you want to retrieve.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pricing.model.PricingRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
serviceCode
GetProductsRequest.Builder serviceCode(String serviceCode)
The code for the service whose products you want to retrieve.
- Parameters:
serviceCode- The code for the service whose products you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetProductsRequest.Builder filters(Collection<Filter> filters)
The list of filters that limit the returned products. only products that match all filters are returned.
- Parameters:
filters- The list of filters that limit the returned products. only products that match all filters are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetProductsRequest.Builder filters(Filter... filters)
The list of filters that limit the returned products. only products that match all filters are returned.
- Parameters:
filters- The list of filters that limit the returned products. only products that match all filters are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
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 method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
formatVersion
GetProductsRequest.Builder formatVersion(String formatVersion)
The format version that you want the response to be in.
Valid values are:
aws_v1- Parameters:
formatVersion- The format version that you want the response to be in.Valid values are:
aws_v1- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetProductsRequest.Builder nextToken(String nextToken)
The pagination token that indicates the next set of results that you want to retrieve.
- Parameters:
nextToken- The pagination token that indicates the next set of results that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetProductsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in the response.
- Parameters:
maxResults- The maximum number of results to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetProductsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetProductsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-