@Generated(value="software.amazon.awssdk:codegen") public final class SearchProductsAsAdminRequest extends ServiceCatalogRequest implements ToCopyableBuilder<SearchProductsAsAdminRequest.Builder,SearchProductsAsAdminRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchProductsAsAdminRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
acceptLanguage()
The language code.
|
static SearchProductsAsAdminRequest.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()
For responses, this returns true if the service returned a value for the Filters property.
|
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.
|
String |
portfolioId()
The portfolio identifier.
|
ProductSource |
productSource()
Access level of the source of the product.
|
String |
productSourceAsString()
Access level of the source of the product.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SearchProductsAsAdminRequest.Builder> |
serializableBuilderClass() |
ProductViewSortBy |
sortBy()
The sort field.
|
String |
sortByAsString()
The sort field.
|
SortOrder |
sortOrder()
The sort order.
|
String |
sortOrderAsString()
The sort order.
|
SearchProductsAsAdminRequest.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.
jp - Japanese
zh - Chinese
jp - Japanese
zh - Chinese
public final String portfolioId()
The portfolio identifier.
public final Map<ProductViewFilterBy,List<String>> filters()
The search filters. If no search filters are specified, the output includes all products to which the administrator has access.
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 hasFilters() method.
public final boolean hasFilters()
isEmpty() 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.public final Map<String,List<String>> filtersAsStrings()
The search filters. If no search filters are specified, the output includes all products to which the administrator has access.
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 hasFilters() method.
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 final Integer pageSize()
The maximum number of items to return with this call.
public final ProductSource productSource()
Access level of the source of the product.
If the service returns an enum value that is not available in the current SDK version, productSource
will return ProductSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
productSourceAsString().
ProductSourcepublic final String productSourceAsString()
Access level of the source of the product.
If the service returns an enum value that is not available in the current SDK version, productSource
will return ProductSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
productSourceAsString().
ProductSourcepublic SearchProductsAsAdminRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchProductsAsAdminRequest.Builder,SearchProductsAsAdminRequest>toBuilder in class ServiceCatalogRequestpublic static SearchProductsAsAdminRequest.Builder builder()
public static Class<? extends SearchProductsAsAdminRequest.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 © 2023. All rights reserved.