Class ListEntitiesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.marketplacecatalog.model.MarketplaceCatalogRequest
-
- software.amazon.awssdk.services.marketplacecatalog.model.ListEntitiesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListEntitiesRequest.Builder,ListEntitiesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListEntitiesRequest extends MarketplaceCatalogRequest implements ToCopyableBuilder<ListEntitiesRequest.Builder,ListEntitiesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListEntitiesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListEntitiesRequest.Builderbuilder()Stringcatalog()The catalog related to the request.StringentityType()The type of entities to retrieve.EntityTypeFiltersentityTypeFilters()A Union object containing filter shapes for allEntityTypes.EntityTypeSortentityTypeSort()A Union object containingSortshapes for allEntityTypes.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)List<Filter>filterList()An array of filter objects.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasFilterList()For responses, this returns true if the service returned a value for the FilterList property.inthashCode()IntegermaxResults()Specifies the upper limit of the elements on a single page.StringnextToken()The value of the next token, if it exists.OwnershipTypeownershipType()Filters the returned set of entities based on their owner.StringownershipTypeAsString()Filters the returned set of entities based on their owner.List<SdkField<?>>sdkFields()static Class<? extends ListEntitiesRequest.Builder>serializableBuilderClass()Sortsort()An object that contains two attributes,SortByandSortOrder.ListEntitiesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
catalog
public final String catalog()
The catalog related to the request. Fixed value:
AWSMarketplace- Returns:
- The catalog related to the request. Fixed value:
AWSMarketplace
-
entityType
public final String entityType()
The type of entities to retrieve. Valid values are:
ServerProduct,AmiProduct,ContainerProduct,DataProduct,SaaSProduct,ProcurementPolicy,Experience,Audience,BrandingSettings,Offer,Seller,ResaleAuthorization.- Returns:
- The type of entities to retrieve. Valid values are:
ServerProduct,AmiProduct,ContainerProduct,DataProduct,SaaSProduct,ProcurementPolicy,Experience,Audience,BrandingSettings,Offer,Seller,ResaleAuthorization.
-
hasFilterList
public final boolean hasFilterList()
For responses, this returns true if the service returned a value for the FilterList property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
filterList
public final List<Filter> filterList()
An array of filter objects. Each filter object contains two attributes,
filterNameandfilterValues.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFilterList()method.- Returns:
- An array of filter objects. Each filter object contains two attributes,
filterNameandfilterValues.
-
sort
public final Sort sort()
An object that contains two attributes,
SortByandSortOrder.- Returns:
- An object that contains two attributes,
SortByandSortOrder.
-
nextToken
public final String nextToken()
The value of the next token, if it exists. Null if there are no more results.
- Returns:
- The value of the next token, if it exists. Null if there are no more results.
-
maxResults
public final Integer maxResults()
Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.
- Returns:
- Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.
-
ownershipType
public final 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.If the service returns an enum value that is not available in the current SDK version,
ownershipTypewill returnOwnershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromownershipTypeAsString().- Returns:
- 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. - See Also:
OwnershipType
-
ownershipTypeAsString
public final String ownershipTypeAsString()
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.If the service returns an enum value that is not available in the current SDK version,
ownershipTypewill returnOwnershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromownershipTypeAsString().- Returns:
- 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. - See Also:
OwnershipType
-
entityTypeFilters
public final 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.- Returns:
- A Union object containing filter shapes for all
EntityTypes. EachEntityTypeFiltershape will have filters applicable for thatEntityTypethat can be used to search or filter entities.
-
entityTypeSort
public final 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.- Returns:
- 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.
-
toBuilder
public ListEntitiesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListEntitiesRequest.Builder,ListEntitiesRequest>- Specified by:
toBuilderin classMarketplaceCatalogRequest
-
builder
public static ListEntitiesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListEntitiesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-