Class ListDocumentsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simplesystemsmanagement.model.ListDocumentsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListDocumentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListDocumentsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDocumentsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<DocumentFilter>
getDocumentFilterList()
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.int
hashCode()
void
setDocumentFilterList(Collection<DocumentFilter> documentFilterList)
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListDocumentsRequest
withDocumentFilterList(DocumentFilter... documentFilterList)
One or more filters.ListDocumentsRequest
withDocumentFilterList(Collection<DocumentFilter> documentFilterList)
One or more filters.ListDocumentsRequest
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.ListDocumentsRequest
withNextToken(String nextToken)
The token for the next set of items to return.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getDocumentFilterList
public List<DocumentFilter> getDocumentFilterList()
One or more filters. Use a filter to return a more specific list of results.
- Returns:
- One or more filters. Use a filter to return a more specific list of results.
-
setDocumentFilterList
public void setDocumentFilterList(Collection<DocumentFilter> documentFilterList)
One or more filters. Use a filter to return a more specific list of results.
- Parameters:
documentFilterList
- One or more filters. Use a filter to return a more specific list of results.
-
withDocumentFilterList
public ListDocumentsRequest withDocumentFilterList(DocumentFilter... documentFilterList)
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
setDocumentFilterList(java.util.Collection)
orwithDocumentFilterList(java.util.Collection)
if you want to override the existing values.- Parameters:
documentFilterList
- One or more filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDocumentFilterList
public ListDocumentsRequest withDocumentFilterList(Collection<DocumentFilter> documentFilterList)
One or more filters. Use a filter to return a more specific list of results.
- Parameters:
documentFilterList
- One or more filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
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.
- Parameters:
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.
-
getMaxResults
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.
- Returns:
- 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.
-
withMaxResults
public ListDocumentsRequest 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
-
getNextToken
public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- The token for the next set of items to return. (You received this token from a previous call.)
-
withNextToken
public ListDocumentsRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListDocumentsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-