Interface ListEntitiesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListEntitiesRequest.Builder,
,ListEntitiesRequest> MarketplaceCatalogRequest.Builder
,SdkBuilder<ListEntitiesRequest.Builder,
,ListEntitiesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListEntitiesRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog related to the request.entityType
(String entityType) The type of entities to retrieve.default ListEntitiesRequest.Builder
entityTypeFilters
(Consumer<EntityTypeFilters.Builder> entityTypeFilters) A Union object containing filter shapes for allEntityType
s.entityTypeFilters
(EntityTypeFilters entityTypeFilters) A Union object containing filter shapes for allEntityType
s.default ListEntitiesRequest.Builder
entityTypeSort
(Consumer<EntityTypeSort.Builder> entityTypeSort) A Union object containingSort
shapes for allEntityType
s.entityTypeSort
(EntityTypeSort entityTypeSort) A Union object containingSort
shapes for allEntityType
s.filterList
(Collection<Filter> filterList) An array of filter objects.filterList
(Consumer<Filter.Builder>... filterList) An array of filter objects.filterList
(Filter... filterList) An array of filter objects.maxResults
(Integer maxResults) Specifies the upper limit of the elements on a single page.The value of the next token, if it exists.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ownershipType
(String ownershipType) Filters the returned set of entities based on their owner.ownershipType
(OwnershipType ownershipType) Filters the returned set of entities based on their owner.default ListEntitiesRequest.Builder
sort
(Consumer<Sort.Builder> sort) An object that contains two attributes,SortBy
andSortOrder
.An object that contains two attributes,SortBy
andSortOrder
.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.marketplacecatalog.model.MarketplaceCatalogRequest.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 Details
-
catalog
The catalog related to the request. Fixed value:
AWSMarketplace
- Parameters:
catalog
- The catalog related to the request. Fixed value:AWSMarketplace
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityType
The type of entities to retrieve. Valid values are:
AmiProduct
,ContainerProduct
,DataProduct
,SaaSProduct
,ProcurementPolicy
,Experience
,Audience
,BrandingSettings
,Offer
,Seller
,ResaleAuthorization
.- Parameters:
entityType
- The type of entities to retrieve. Valid values are:AmiProduct
,ContainerProduct
,DataProduct
,SaaSProduct
,ProcurementPolicy
,Experience
,Audience
,BrandingSettings
,Offer
,Seller
,ResaleAuthorization
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterList
An array of filter objects. Each filter object contains two attributes,
filterName
andfilterValues
.- Parameters:
filterList
- An array of filter objects. Each filter object contains two attributes,filterName
andfilterValues
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterList
An array of filter objects. Each filter object contains two attributes,
filterName
andfilterValues
.- Parameters:
filterList
- An array of filter objects. Each filter object contains two attributes,filterName
andfilterValues
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterList
An array of filter objects. Each filter object contains two attributes,
This is a convenience method that creates an instance of thefilterName
andfilterValues
.Filter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterList(List<Filter>)
.- Parameters:
filterList
- 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:
-
sort
An object that contains two attributes,
SortBy
andSortOrder
.- Parameters:
sort
- An object that contains two attributes,SortBy
andSortOrder
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
An object that contains two attributes,
This is a convenience method that creates an instance of theSortBy
andSortOrder
.Sort.Builder
avoiding the need to create one manually viaSort.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosort(Sort)
.- Parameters:
sort
- a consumer that will call methods onSort.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The value of the next token, if it exists. Null if there are no more results.
- Parameters:
nextToken
- The value of the next token, if it exists. Null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.
- Parameters:
maxResults
- Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownershipType
Filters the returned set of entities based on their owner. The default is
SELF
. To list entities shared with you through AWS Resource Access Manager (AWS RAM), set toSHARED
. Entities shared through the AWS Marketplace Catalog APIPutResourcePolicy
operation can't be discovered through theSHARED
parameter.- Parameters:
ownershipType
- Filters the returned set of entities based on their owner. The default isSELF
. To list entities shared with you through AWS Resource Access Manager (AWS RAM), set toSHARED
. Entities shared through the AWS Marketplace Catalog APIPutResourcePolicy
operation can't be discovered through theSHARED
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownershipType
Filters the returned set of entities based on their owner. The default is
SELF
. To list entities shared with you through AWS Resource Access Manager (AWS RAM), set toSHARED
. Entities shared through the AWS Marketplace Catalog APIPutResourcePolicy
operation can't be discovered through theSHARED
parameter.- Parameters:
ownershipType
- Filters the returned set of entities based on their owner. The default isSELF
. To list entities shared with you through AWS Resource Access Manager (AWS RAM), set toSHARED
. Entities shared through the AWS Marketplace Catalog APIPutResourcePolicy
operation can't be discovered through theSHARED
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityTypeFilters
A Union object containing filter shapes for all
EntityType
s. EachEntityTypeFilter
shape will have filters applicable for thatEntityType
that can be used to search or filter entities.- Parameters:
entityTypeFilters
- A Union object containing filter shapes for allEntityType
s. EachEntityTypeFilter
shape will have filters applicable for thatEntityType
that can be used to search or filter entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityTypeFilters
default ListEntitiesRequest.Builder entityTypeFilters(Consumer<EntityTypeFilters.Builder> entityTypeFilters) A Union object containing filter shapes for all
This is a convenience method that creates an instance of theEntityType
s. EachEntityTypeFilter
shape will have filters applicable for thatEntityType
that can be used to search or filter entities.EntityTypeFilters.Builder
avoiding the need to create one manually viaEntityTypeFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentityTypeFilters(EntityTypeFilters)
.- Parameters:
entityTypeFilters
- a consumer that will call methods onEntityTypeFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityTypeSort
A Union object containing
Sort
shapes for allEntityType
s. EachEntityTypeSort
shape will haveSortBy
andSortOrder
applicable for fields on thatEntityType
. This can be used to sort the results of the filter query.- Parameters:
entityTypeSort
- A Union object containingSort
shapes for allEntityType
s. EachEntityTypeSort
shape will haveSortBy
andSortOrder
applicable for fields on thatEntityType
. This can be used to sort the results of the filter query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityTypeSort
A Union object containing
This is a convenience method that creates an instance of theSort
shapes for allEntityType
s. EachEntityTypeSort
shape will haveSortBy
andSortOrder
applicable for fields on thatEntityType
. This can be used to sort the results of the filter query.EntityTypeSort.Builder
avoiding the need to create one manually viaEntityTypeSort.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentityTypeSort(EntityTypeSort)
.- Parameters:
entityTypeSort
- a consumer that will call methods onEntityTypeSort.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListEntitiesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListEntitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-