@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInventoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetInventoryRequest() |
Modifier and Type | Method and Description |
---|---|
GetInventoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<InventoryFilter> |
getFilters()
One or more filters.
|
Integer |
getMaxResults()
The maximum number of items to return for this call.
|
String |
getNextToken()
The token for the next set of items to return.
|
List<ResultAttribute> |
getResultAttributes()
The list of inventory item types to return.
|
int |
hashCode() |
void |
setFilters(Collection<InventoryFilter> filters)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setResultAttributes(Collection<ResultAttribute> resultAttributes)
The list of inventory item types to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetInventoryRequest |
withFilters(Collection<InventoryFilter> filters)
One or more filters.
|
GetInventoryRequest |
withFilters(InventoryFilter... filters)
One or more filters.
|
GetInventoryRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
GetInventoryRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
GetInventoryRequest |
withResultAttributes(Collection<ResultAttribute> resultAttributes)
The list of inventory item types to return.
|
GetInventoryRequest |
withResultAttributes(ResultAttribute... resultAttributes)
The list of inventory item types to return.
|
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 List<InventoryFilter> getFilters()
One or more filters. Use a filter to return a more specific list of results.
public void setFilters(Collection<InventoryFilter> filters)
One or more filters. Use a filter to return a more specific list of results.
filters
- One or more filters. Use a filter to return a more specific list of results.public GetInventoryRequest withFilters(InventoryFilter... filters)
One or more filters. Use a filter to return a more specific list of results.
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
- One or more filters. Use a filter to return a more specific list of results.public GetInventoryRequest withFilters(Collection<InventoryFilter> filters)
One or more filters. Use a filter to return a more specific list of results.
filters
- One or more filters. Use a filter to return a more specific list of results.public List<ResultAttribute> getResultAttributes()
The list of inventory item types to return.
public void setResultAttributes(Collection<ResultAttribute> resultAttributes)
The list of inventory item types to return.
resultAttributes
- The list of inventory item types to return.public GetInventoryRequest withResultAttributes(ResultAttribute... resultAttributes)
The list of inventory item types to return.
NOTE: This method appends the values to the existing list (if any). Use
setResultAttributes(java.util.Collection)
or withResultAttributes(java.util.Collection)
if you
want to override the existing values.
resultAttributes
- The list of inventory item types to return.public GetInventoryRequest withResultAttributes(Collection<ResultAttribute> resultAttributes)
The list of inventory item types to return.
resultAttributes
- The list of inventory item types to return.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public GetInventoryRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public void setMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public Integer getMaxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public GetInventoryRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public GetInventoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.