Interface GetEntitlementsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetEntitlementsRequest.Builder,,GetEntitlementsRequest> MarketplaceEntitlementRequest.Builder,SdkBuilder<GetEntitlementsRequest.Builder,,GetEntitlementsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetEntitlementsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilter(Map<GetEntitlementFilterName, ? extends Collection<String>> filter) Filter is used to return entitlements for a specific customer or for a specific dimension.filterWithStrings(Map<String, ? extends Collection<String>> filter) Filter is used to return entitlements for a specific customer or for a specific dimension.maxResults(Integer maxResults) The maximum number of items to retrieve from the GetEntitlements operation.For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.productCode(String productCode) Product code is used to uniquely identify a product in AWS Marketplace.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.marketplaceentitlement.model.MarketplaceEntitlementRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
productCode
Product code is used to uniquely identify a product in AWS Marketplace. The product code will be provided by AWS Marketplace when the product listing is created.
- Parameters:
productCode- Product code is used to uniquely identify a product in AWS Marketplace. The product code will be provided by AWS Marketplace when the product listing is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterWithStrings
Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are unioned for each value in the value list, and then intersected for each filter key.
- Parameters:
filter- Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are unioned for each value in the value list, and then intersected for each filter key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
GetEntitlementsRequest.Builder filter(Map<GetEntitlementFilterName, ? extends Collection<String>> filter) Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are unioned for each value in the value list, and then intersected for each filter key.
- Parameters:
filter- Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are unioned for each value in the value list, and then intersected for each filter key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.
- Parameters:
nextToken- For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the NextToken field in subsequent calls to GetEntitlements.
- Parameters:
maxResults- The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the NextToken field in subsequent calls to GetEntitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetEntitlementsRequest.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
GetEntitlementsRequest.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.
-