Interface ListPurchaseOptionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListPurchaseOptionsRequest.Builder,,ListPurchaseOptionsRequest> MarketplaceDiscoveryRequest.Builder,SdkBuilder<ListPurchaseOptionsRequest.Builder,,ListPurchaseOptionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListPurchaseOptionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<PurchaseOptionFilter> filters) Filters to narrow the results.filters(Consumer<PurchaseOptionFilter.Builder>... filters) Filters to narrow the results.filters(PurchaseOptionFilter... filters) Filters to narrow the results.A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content.maxResults(Integer maxResults) The maximum number of results that are returned per call.IfnextTokenis returned, there are more results available.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.marketplacediscovery.model.MarketplaceDiscoveryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
locale
A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content. See
Localefor supported values, constraints, fallback behavior, and the default locale. If omitted, the service returns content in the default locale.- Parameters:
locale- A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content. SeeLocalefor supported values, constraints, fallback behavior, and the default locale. If omitted, the service returns content in the default locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.
- Parameters:
filters- Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.
- Parameters:
filters- Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.
This is a convenience method that creates an instance of thePurchaseOptionFilter.Builderavoiding the need to create one manually viaPurchaseOptionFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<PurchaseOptionFilter>).- Parameters:
filters- a consumer that will call methods onPurchaseOptionFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results that are returned per call. You can use
nextTokento get more results.- Parameters:
maxResults- The maximum number of results that are returned per call. You can usenextTokento get more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If
nextTokenis returned, there are more results available. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken- IfnextTokenis returned, there are more results available. Make the call again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPurchaseOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPurchaseOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-