@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePackagesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
 Container for the request parameters to the DescribePackage operation.
 
NOOP| Constructor and Description | 
|---|
| DescribePackagesRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribePackagesRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| List<DescribePackagesFilter> | getFilters()
 Only returns packages that match the  DescribePackagesFilterListvalues. | 
| Integer | getMaxResults()
 An optional parameter that specifies the maximum number of results to return. | 
| String | getNextToken()
 If your initial  DescribePackageFiltersoperation returns anextToken, you can include
 the returnednextTokenin subsequentDescribePackageFiltersoperations, which returns
 results in the next page. | 
| int | hashCode() | 
| void | setFilters(Collection<DescribePackagesFilter> filters)
 Only returns packages that match the  DescribePackagesFilterListvalues. | 
| void | setMaxResults(Integer maxResults)
 An optional parameter that specifies the maximum number of results to return. | 
| void | setNextToken(String nextToken)
 If your initial  DescribePackageFiltersoperation returns anextToken, you can include
 the returnednextTokenin subsequentDescribePackageFiltersoperations, which returns
 results in the next page. | 
| String | toString()Returns a string representation of this object. | 
| DescribePackagesRequest | withFilters(Collection<DescribePackagesFilter> filters)
 Only returns packages that match the  DescribePackagesFilterListvalues. | 
| DescribePackagesRequest | withFilters(DescribePackagesFilter... filters)
 Only returns packages that match the  DescribePackagesFilterListvalues. | 
| DescribePackagesRequest | withMaxResults(Integer maxResults)
 An optional parameter that specifies the maximum number of results to return. | 
| DescribePackagesRequest | withNextToken(String nextToken)
 If your initial  DescribePackageFiltersoperation returns anextToken, you can include
 the returnednextTokenin subsequentDescribePackageFiltersoperations, which returns
 results in the next page. | 
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<DescribePackagesFilter> getFilters()
 Only returns packages that match the DescribePackagesFilterList values.
 
DescribePackagesFilterList values.public void setFilters(Collection<DescribePackagesFilter> filters)
 Only returns packages that match the DescribePackagesFilterList values.
 
filters - Only returns packages that match the DescribePackagesFilterList values.public DescribePackagesRequest withFilters(DescribePackagesFilter... filters)
 Only returns packages that match the DescribePackagesFilterList values.
 
 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 - Only returns packages that match the DescribePackagesFilterList values.public DescribePackagesRequest withFilters(Collection<DescribePackagesFilter> filters)
 Only returns packages that match the DescribePackagesFilterList values.
 
filters - Only returns packages that match the DescribePackagesFilterList values.public void setMaxResults(Integer maxResults)
 An optional parameter that specifies the maximum number of results to return. You can use nextToken
 to get the next page of results.
 
maxResults - An optional parameter that specifies the maximum number of results to return. You can use
        nextToken to get the next page of results.public Integer getMaxResults()
 An optional parameter that specifies the maximum number of results to return. You can use nextToken
 to get the next page of results.
 
nextToken to get the next page of results.public DescribePackagesRequest withMaxResults(Integer maxResults)
 An optional parameter that specifies the maximum number of results to return. You can use nextToken
 to get the next page of results.
 
maxResults - An optional parameter that specifies the maximum number of results to return. You can use
        nextToken to get the next page of results.public void setNextToken(String nextToken)
 If your initial DescribePackageFilters operation returns a nextToken, you can include
 the returned nextToken in subsequent DescribePackageFilters operations, which returns
 results in the next page.
 
nextToken - If your initial DescribePackageFilters operation returns a nextToken, you can
        include the returned nextToken in subsequent DescribePackageFilters operations,
        which returns results in the next page.public String getNextToken()
 If your initial DescribePackageFilters operation returns a nextToken, you can include
 the returned nextToken in subsequent DescribePackageFilters operations, which returns
 results in the next page.
 
DescribePackageFilters operation returns a nextToken, you can
         include the returned nextToken in subsequent DescribePackageFilters operations,
         which returns results in the next page.public DescribePackagesRequest withNextToken(String nextToken)
 If your initial DescribePackageFilters operation returns a nextToken, you can include
 the returned nextToken in subsequent DescribePackageFilters operations, which returns
 results in the next page.
 
nextToken - If your initial DescribePackageFilters operation returns a nextToken, you can
        include the returned nextToken in subsequent DescribePackageFilters operations,
        which returns results in the next page.public String toString()
toString in class ObjectObject.toString()public DescribePackagesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()