@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListReceivedGrantsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
ListReceivedGrantsRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
ListReceivedGrantsRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
List<Filter> | 
getFilters()
 Filters to scope the results. 
 | 
List<String> | 
getGrantArns()
 Amazon Resource Names (ARNs) of the grants. 
 | 
Integer | 
getMaxResults()
 Maximum number of results to return in a single call. 
 | 
String | 
getNextToken()
 Token for the next set of results. 
 | 
int | 
hashCode()  | 
void | 
setFilters(Collection<Filter> filters)
 Filters to scope the results. 
 | 
void | 
setGrantArns(Collection<String> grantArns)
 Amazon Resource Names (ARNs) of the grants. 
 | 
void | 
setMaxResults(Integer maxResults)
 Maximum number of results to return in a single call. 
 | 
void | 
setNextToken(String nextToken)
 Token for the next set of results. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
ListReceivedGrantsRequest | 
withFilters(Collection<Filter> filters)
 Filters to scope the results. 
 | 
ListReceivedGrantsRequest | 
withFilters(Filter... filters)
 Filters to scope the results. 
 | 
ListReceivedGrantsRequest | 
withGrantArns(Collection<String> grantArns)
 Amazon Resource Names (ARNs) of the grants. 
 | 
ListReceivedGrantsRequest | 
withGrantArns(String... grantArns)
 Amazon Resource Names (ARNs) of the grants. 
 | 
ListReceivedGrantsRequest | 
withMaxResults(Integer maxResults)
 Maximum number of results to return in a single call. 
 | 
ListReceivedGrantsRequest | 
withNextToken(String nextToken)
 Token for the next set of results. 
 | 
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, withSdkRequestTimeoutpublic List<String> getGrantArns()
Amazon Resource Names (ARNs) of the grants.
public void setGrantArns(Collection<String> grantArns)
Amazon Resource Names (ARNs) of the grants.
grantArns - Amazon Resource Names (ARNs) of the grants.public ListReceivedGrantsRequest withGrantArns(String... grantArns)
Amazon Resource Names (ARNs) of the grants.
 NOTE: This method appends the values to the existing list (if any). Use
 setGrantArns(java.util.Collection) or withGrantArns(java.util.Collection) if you want to
 override the existing values.
 
grantArns - Amazon Resource Names (ARNs) of the grants.public ListReceivedGrantsRequest withGrantArns(Collection<String> grantArns)
Amazon Resource Names (ARNs) of the grants.
grantArns - Amazon Resource Names (ARNs) of the grants.public List<Filter> getFilters()
Filters to scope the results. The following filters are supported:
 ProductSKU
 
 LicenseIssuerName
 
 LicenseArn
 
 GrantStatus
 
 GranterAccountId
 
         ProductSKU
         
         LicenseIssuerName
         
         LicenseArn
         
         GrantStatus
         
         GranterAccountId
         
public void setFilters(Collection<Filter> filters)
Filters to scope the results. The following filters are supported:
 ProductSKU
 
 LicenseIssuerName
 
 LicenseArn
 
 GrantStatus
 
 GranterAccountId
 
filters - Filters to scope the results. The following filters are supported:
        
        ProductSKU
        
        LicenseIssuerName
        
        LicenseArn
        
        GrantStatus
        
        GranterAccountId
        
public ListReceivedGrantsRequest withFilters(Filter... filters)
Filters to scope the results. The following filters are supported:
 ProductSKU
 
 LicenseIssuerName
 
 LicenseArn
 
 GrantStatus
 
 GranterAccountId
 
 NOTE: This method appends the values to the existing list (if any). Use
 setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
 the existing values.
 
filters - Filters to scope the results. The following filters are supported:
        
        ProductSKU
        
        LicenseIssuerName
        
        LicenseArn
        
        GrantStatus
        
        GranterAccountId
        
public ListReceivedGrantsRequest withFilters(Collection<Filter> filters)
Filters to scope the results. The following filters are supported:
 ProductSKU
 
 LicenseIssuerName
 
 LicenseArn
 
 GrantStatus
 
 GranterAccountId
 
filters - Filters to scope the results. The following filters are supported:
        
        ProductSKU
        
        LicenseIssuerName
        
        LicenseArn
        
        GrantStatus
        
        GranterAccountId
        
public void setNextToken(String nextToken)
Token for the next set of results.
nextToken - Token for the next set of results.public String getNextToken()
Token for the next set of results.
public ListReceivedGrantsRequest withNextToken(String nextToken)
Token for the next set of results.
nextToken - Token for the next set of results.public void setMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
maxResults - Maximum number of results to return in a single call.public Integer getMaxResults()
Maximum number of results to return in a single call.
public ListReceivedGrantsRequest withMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
maxResults - Maximum number of results to return in a single call.public String toString()
toString in class ObjectObject.toString()public ListReceivedGrantsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()