@Generated(value="software.amazon.awssdk:codegen") public class GetEntitlementsRequest extends MarketplaceEntitlementRequest implements ToCopyableBuilder<GetEntitlementsRequest.Builder,GetEntitlementsRequest>
The GetEntitlementsRequest contains parameters for the GetEntitlements operation.
Modifier and Type | Class and Description |
---|---|
static interface |
GetEntitlementsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetEntitlementsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
Map<GetEntitlementFilterName,List<String>> |
filter()
Filter is used to return entitlements for a specific customer or for a specific dimension.
|
Map<String,List<String>> |
filterStrings()
Filter is used to return entitlements for a specific customer or for a specific dimension.
|
<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 |
maxResults()
The maximum number of items to retrieve from the GetEntitlements operation.
|
String |
nextToken()
For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.
|
String |
productCode()
Product code is used to uniquely identify a product in AWS Marketplace.
|
static Class<? extends GetEntitlementsRequest.Builder> |
serializableBuilderClass() |
GetEntitlementsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String productCode()
Product code is used to uniquely identify a product in AWS Marketplace. The product code will be provided by AWS Marketplace when the product listing is created.
public Map<GetEntitlementFilterName,List<String>> filter()
Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are unioned for each value in the value list, and then intersected for each filter key.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,List<String>> filterStrings()
Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are unioned for each value in the value list, and then intersected for each filter key.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String nextToken()
For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.
public Integer maxResults()
The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the NextToken field in subsequent calls to GetEntitlements.
public GetEntitlementsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetEntitlementsRequest.Builder,GetEntitlementsRequest>
toBuilder
in class MarketplaceEntitlementRequest
public static GetEntitlementsRequest.Builder builder()
public static Class<? extends GetEntitlementsRequest.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.