@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCollectorsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListCollectorsRequest() |
Modifier and Type | Method and Description |
---|---|
ListCollectorsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of items to include in the response.
|
String |
getNextToken()
The token from a previous call that you use to retrieve the next set of results.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of items to include in the response.
|
void |
setNextToken(String nextToken)
The token from a previous call that you use to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListCollectorsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to include in the response.
|
ListCollectorsRequest |
withNextToken(String nextToken)
The token from a previous call that you use to retrieve 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, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
The maximum number of items to include in the response. The maximum value is 100.
maxResults
- The maximum number of items to include in the response. The maximum value is 100.public Integer getMaxResults()
The maximum number of items to include in the response. The maximum value is 100.
public ListCollectorsRequest withMaxResults(Integer maxResults)
The maximum number of items to include in the response. The maximum value is 100.
maxResults
- The maximum number of items to include in the response. The maximum value is 100.public void setNextToken(String nextToken)
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call
to this action returned 100 items, but you set maxResults
to 10. You'll receive a set of 10 results
along with a token. You then use the returned token to retrieve the next set of 10.
nextToken
- The token from a previous call that you use to retrieve the next set of results. For example, if a
previous call to this action returned 100 items, but you set maxResults
to 10. You'll receive
a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.public String getNextToken()
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call
to this action returned 100 items, but you set maxResults
to 10. You'll receive a set of 10 results
along with a token. You then use the returned token to retrieve the next set of 10.
maxResults
to 10. You'll
receive a set of 10 results along with a token. You then use the returned token to retrieve the next set
of 10.public ListCollectorsRequest withNextToken(String nextToken)
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call
to this action returned 100 items, but you set maxResults
to 10. You'll receive a set of 10 results
along with a token. You then use the returned token to retrieve the next set of 10.
nextToken
- The token from a previous call that you use to retrieve the next set of results. For example, if a
previous call to this action returned 100 items, but you set maxResults
to 10. You'll receive
a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.public String toString()
toString
in class Object
Object.toString()
public ListCollectorsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()