Interface ListEntitiesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListEntitiesRequest.Builder,ListEntitiesRequest>,MarketplaceCatalogRequest.Builder,SdkBuilder<ListEntitiesRequest.Builder,ListEntitiesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListEntitiesRequest
public static interface ListEntitiesRequest.Builder extends MarketplaceCatalogRequest.Builder, SdkPojo, CopyableBuilder<ListEntitiesRequest.Builder,ListEntitiesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListEntitiesRequest.Buildercatalog(String catalog)The catalog related to the request.ListEntitiesRequest.BuilderentityType(String entityType)The type of entities to retrieve.default ListEntitiesRequest.BuilderentityTypeFilters(Consumer<EntityTypeFilters.Builder> entityTypeFilters)A Union object containing filter shapes for allEntityTypes.ListEntitiesRequest.BuilderentityTypeFilters(EntityTypeFilters entityTypeFilters)A Union object containing filter shapes for allEntityTypes.default ListEntitiesRequest.BuilderentityTypeSort(Consumer<EntityTypeSort.Builder> entityTypeSort)A Union object containingSortshapes for allEntityTypes.ListEntitiesRequest.BuilderentityTypeSort(EntityTypeSort entityTypeSort)A Union object containingSortshapes for allEntityTypes.ListEntitiesRequest.BuilderfilterList(Collection<Filter> filterList)An array of filter objects.ListEntitiesRequest.BuilderfilterList(Consumer<Filter.Builder>... filterList)An array of filter objects.ListEntitiesRequest.BuilderfilterList(Filter... filterList)An array of filter objects.ListEntitiesRequest.BuildermaxResults(Integer maxResults)Specifies the upper limit of the elements on a single page.ListEntitiesRequest.BuildernextToken(String nextToken)The value of the next token, if it exists.ListEntitiesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListEntitiesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListEntitiesRequest.BuilderownershipType(String ownershipType)Filters the returned set of entities based on their owner.ListEntitiesRequest.BuilderownershipType(OwnershipType ownershipType)Filters the returned set of entities based on their owner.default ListEntitiesRequest.Buildersort(Consumer<Sort.Builder> sort)An object that contains two attributes,SortByandSortOrder.ListEntitiesRequest.Buildersort(Sort sort)An object that contains two attributes,SortByandSortOrder.-
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 Detail
-
catalog
ListEntitiesRequest.Builder catalog(String 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
ListEntitiesRequest.Builder entityType(String entityType)
The type of entities to retrieve. Valid values are:
ServerProduct,AmiProduct,ContainerProduct,DataProduct,SaaSProduct,ProcurementPolicy,Experience,Audience,BrandingSettings,Offer,Seller,ResaleAuthorization.- Parameters:
entityType- The type of entities to retrieve. Valid values are:ServerProduct,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
ListEntitiesRequest.Builder filterList(Collection<Filter> filterList)
An array of filter objects. Each filter object contains two attributes,
filterNameandfilterValues.- Parameters:
filterList- An array of filter objects. Each filter object contains two attributes,filterNameandfilterValues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterList
ListEntitiesRequest.Builder filterList(Filter... filterList)
An array of filter objects. Each filter object contains two attributes,
filterNameandfilterValues.- Parameters:
filterList- An array of filter objects. Each filter object contains two attributes,filterNameandfilterValues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterList
ListEntitiesRequest.Builder filterList(Consumer<Filter.Builder>... filterList)
An array of filter objects. Each filter object contains two attributes,
This is a convenience method that creates an instance of thefilterNameandfilterValues.Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filterList(List.) - 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:
#filterList(java.util.Collection)
-
sort
ListEntitiesRequest.Builder sort(Sort sort)
An object that contains two attributes,
SortByandSortOrder.- Parameters:
sort- An object that contains two attributes,SortByandSortOrder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
default ListEntitiesRequest.Builder sort(Consumer<Sort.Builder> sort)
An object that contains two attributes,
This is a convenience method that creates an instance of theSortByandSortOrder.Sort.Builderavoiding the need to create one manually viaSort.builder().When the
Consumercompletes,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:
sort(Sort)
-
nextToken
ListEntitiesRequest.Builder nextToken(String 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
ListEntitiesRequest.Builder maxResults(Integer 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
ListEntitiesRequest.Builder ownershipType(String 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 APIPutResourcePolicyoperation can't be discovered through theSHAREDparameter.- 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 APIPutResourcePolicyoperation can't be discovered through theSHAREDparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OwnershipType,OwnershipType
-
ownershipType
ListEntitiesRequest.Builder ownershipType(OwnershipType 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 APIPutResourcePolicyoperation can't be discovered through theSHAREDparameter.- 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 APIPutResourcePolicyoperation can't be discovered through theSHAREDparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OwnershipType,OwnershipType
-
entityTypeFilters
ListEntitiesRequest.Builder entityTypeFilters(EntityTypeFilters entityTypeFilters)
A Union object containing filter shapes for all
EntityTypes. EachEntityTypeFiltershape will have filters applicable for thatEntityTypethat can be used to search or filter entities.- Parameters:
entityTypeFilters- A Union object containing filter shapes for allEntityTypes. EachEntityTypeFiltershape will have filters applicable for thatEntityTypethat 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 theEntityTypes. EachEntityTypeFiltershape will have filters applicable for thatEntityTypethat can be used to search or filter entities.EntityTypeFilters.Builderavoiding the need to create one manually viaEntityTypeFilters.builder().When the
Consumercompletes,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:
entityTypeFilters(EntityTypeFilters)
-
entityTypeSort
ListEntitiesRequest.Builder entityTypeSort(EntityTypeSort entityTypeSort)
A Union object containing
Sortshapes for allEntityTypes. EachEntityTypeSortshape will haveSortByandSortOrderapplicable for fields on thatEntityType. This can be used to sort the results of the filter query.- Parameters:
entityTypeSort- A Union object containingSortshapes for allEntityTypes. EachEntityTypeSortshape will haveSortByandSortOrderapplicable 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
default ListEntitiesRequest.Builder entityTypeSort(Consumer<EntityTypeSort.Builder> entityTypeSort)
A Union object containing
This is a convenience method that creates an instance of theSortshapes for allEntityTypes. EachEntityTypeSortshape will haveSortByandSortOrderapplicable for fields on thatEntityType. This can be used to sort the results of the filter query.EntityTypeSort.Builderavoiding the need to create one manually viaEntityTypeSort.builder().When the
Consumercompletes,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:
entityTypeSort(EntityTypeSort)
-
overrideConfiguration
ListEntitiesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListEntitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-