@Generated(value="software.amazon.awssdk:codegen") public final class SearchProductsRequest extends ServiceCatalogRequest implements ToCopyableBuilder<SearchProductsRequest.Builder,SearchProductsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchProductsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
acceptLanguage()
The language code.
|
static SearchProductsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Map<ProductViewFilterBy,List<String>> |
filters()
The search filters.
|
Map<String,List<String>> |
filtersAsStrings()
The search filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
Integer |
pageSize()
The maximum number of items to return with this call.
|
String |
pageToken()
The page token for the next set of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SearchProductsRequest.Builder> |
serializableBuilderClass() |
ProductViewSortBy |
sortBy()
The sort field.
|
String |
sortByAsString()
The sort field.
|
SortOrder |
sortOrder()
The sort order.
|
String |
sortOrderAsString()
The sort order.
|
SearchProductsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String acceptLanguage()
The language code.
en - English (default)
jp - Japanese
zh - Chinese
en - English (default)
jp - Japanese
zh - Chinese
public final Map<ProductViewFilterBy,List<String>> filters()
The search filters. If no search filters are specified, the output includes all products to which the caller has access.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters() to see if a value was sent in this field.
public final boolean hasFilters()
public final Map<String,List<String>> filtersAsStrings()
The search filters. If no search filters are specified, the output includes all products to which the caller has access.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters() to see if a value was sent in this field.
public final Integer pageSize()
The maximum number of items to return with this call.
public final ProductViewSortBy sortBy()
The sort field. If no value is specified, the results are not sorted.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return ProductViewSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortByAsString().
ProductViewSortBypublic final String sortByAsString()
The sort field. If no value is specified, the results are not sorted.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return ProductViewSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortByAsString().
ProductViewSortBypublic final SortOrder sortOrder()
The sort order. If no value is specified, the results are not sorted.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic final String sortOrderAsString()
The sort order. If no value is specified, the results are not sorted.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic final String pageToken()
The page token for the next set of results. To retrieve the first set of results, use null.
public SearchProductsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchProductsRequest.Builder,SearchProductsRequest>toBuilder in class ServiceCatalogRequestpublic static SearchProductsRequest.Builder builder()
public static Class<? extends SearchProductsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.