public class ListDocumentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListDocuments operation
.
Describes one or more of your configuration documents.
NOOP
Constructor and Description |
---|
ListDocumentsRequest() |
Modifier and Type | Method and 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(Collection<DocumentFilter> documentFilterList)
One or more filters.
|
ListDocumentsRequest |
withDocumentFilterList(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.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<DocumentFilter> getDocumentFilterList()
Constraints:
Length: 1 -
public void setDocumentFilterList(Collection<DocumentFilter> documentFilterList)
Constraints:
Length: 1 -
documentFilterList
- One or more filters. Use a filter to return a more specific list of
results.public ListDocumentsRequest withDocumentFilterList(DocumentFilter... documentFilterList)
NOTE: This method appends the values to the existing list (if
any). Use setDocumentFilterList(java.util.Collection)
or
withDocumentFilterList(java.util.Collection)
if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
documentFilterList
- One or more filters. Use a filter to return a more specific list of
results.public ListDocumentsRequest withDocumentFilterList(Collection<DocumentFilter> documentFilterList)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
documentFilterList
- One or more filters. Use a filter to return a more specific list of
results.public Integer getMaxResults()
Constraints:
Range: 1 - 25
public void setMaxResults(Integer maxResults)
Constraints:
Range: 1 - 25
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 ListDocumentsRequest withMaxResults(Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 25
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 getNextToken()
public void setNextToken(String nextToken)
nextToken
- The token for the next set of items to return. (You received this
token from a previous call.)public ListDocumentsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token for the next set of items to return. (You received this
token from a previous call.)public String toString()
toString
in class Object
Object.toString()
public ListDocumentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.