@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEntitlementsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The GetEntitlementsRequest contains parameters for the GetEntitlements operation.
NOOP
Constructor and Description |
---|
GetEntitlementsRequest() |
Modifier and Type | Method and Description |
---|---|
GetEntitlementsRequest |
addFilterEntry(String key,
List<String> value) |
GetEntitlementsRequest |
clearFilterEntries()
Removes all the entries added into Filter.
|
GetEntitlementsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,List<String>> |
getFilter()
Filter is used to return entitlements for a specific customer or for a specific dimension.
|
Integer |
getMaxResults()
The maximum number of items to retrieve from the GetEntitlements operation.
|
String |
getNextToken()
For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.
|
String |
getProductCode()
Product code is used to uniquely identify a product in AWS Marketplace.
|
int |
hashCode() |
void |
setFilter(Map<String,List<String>> filter)
Filter is used to return entitlements for a specific customer or for a specific dimension.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to retrieve from the GetEntitlements operation.
|
void |
setNextToken(String nextToken)
For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.
|
void |
setProductCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetEntitlementsRequest |
withFilter(Map<String,List<String>> filter)
Filter is used to return entitlements for a specific customer or for a specific dimension.
|
GetEntitlementsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to retrieve from the GetEntitlements operation.
|
GetEntitlementsRequest |
withNextToken(String nextToken)
For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.
|
GetEntitlementsRequest |
withProductCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProductCode(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.
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 String getProductCode()
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 GetEntitlementsRequest withProductCode(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.
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<String,List<String>> getFilter()
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.
public void setFilter(Map<String,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.
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.public GetEntitlementsRequest withFilter(Map<String,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.
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.public GetEntitlementsRequest addFilterEntry(String key, List<String> value)
public GetEntitlementsRequest clearFilterEntries()
public void setNextToken(String nextToken)
For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.
nextToken
- For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.public String getNextToken()
For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.
public GetEntitlementsRequest withNextToken(String nextToken)
For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.
nextToken
- For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.public void setMaxResults(Integer maxResults)
The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the NextToken field in subsequent calls to GetEntitlements.
maxResults
- The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the
NextToken field in subsequent calls to GetEntitlements.public Integer getMaxResults()
The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the NextToken field in subsequent calls to GetEntitlements.
public GetEntitlementsRequest withMaxResults(Integer maxResults)
The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the NextToken field in subsequent calls to GetEntitlements.
maxResults
- The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the
NextToken field in subsequent calls to GetEntitlements.public String toString()
toString
in class Object
Object.toString()
public GetEntitlementsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.