@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) |
Map<ProductViewFilterBy,List<String>> |
filters()
The list of filters with which to limit search results.
|
Map<String,List<String>> |
filtersAsStrings()
The list of filters with which to limit search results.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
pageSize()
The maximum number of items to return in the results.
|
String |
pageToken()
The page token of the first page retrieved.
|
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.
|
static Class<? extends SearchProductsAsAdminRequest.Builder> |
serializableBuilderClass() |
ProductViewSortBy |
sortBy()
The sort field specifier.
|
String |
sortByAsString()
The sort field specifier.
|
SortOrder |
sortOrder()
The sort order specifier.
|
String |
sortOrderAsString()
The sort order specifier.
|
SearchProductsAsAdminRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String acceptLanguage()
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
en
- English (default)
jp
- Japanese
zh
- Chinese
public String portfolioId()
The portfolio identifier.
public Map<ProductViewFilterBy,List<String>> filters()
The list of filters with which to limit search results. If no search filters are specified, the output is all the products to which the administrator has access.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,List<String>> filtersAsStrings()
The list of filters with which to limit search results. If no search filters are specified, the output is all the products to which the administrator has access.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ProductViewSortBy sortBy()
The sort field specifier. If no value is specified, 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()
.
ProductViewSortBy
public String sortByAsString()
The sort field specifier. If no value is specified, 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()
.
ProductViewSortBy
public SortOrder sortOrder()
The sort order specifier. If no value is specified, 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()
.
SortOrder
public String sortOrderAsString()
The sort order specifier. If no value is specified, 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()
.
SortOrder
public String pageToken()
The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
PageSize
.public Integer pageSize()
The maximum number of items to return in the results. If more results exist than fit in the specified
PageSize
, the value of NextPageToken
in the response is non-null.
PageSize
, the value of NextPageToken
in the response is non-null.public 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()
.
ProductSource
public 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()
.
ProductSource
public SearchProductsAsAdminRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SearchProductsAsAdminRequest.Builder,SearchProductsAsAdminRequest>
toBuilder
in class ServiceCatalogRequest
public static SearchProductsAsAdminRequest.Builder builder()
public static Class<? extends SearchProductsAsAdminRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.