@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAgentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListAgentsRequest
NOOP
Constructor and Description |
---|
ListAgentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAgentsRequest |
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 agents to list.
|
String |
getNextToken()
An opaque string that indicates the position at which to begin the next list of agents.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of agents to list.
|
void |
setNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of agents.
|
String |
toString()
Returns a string representation of this object.
|
ListAgentsRequest |
withMaxResults(Integer maxResults)
The maximum number of agents to list.
|
ListAgentsRequest |
withNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of agents.
|
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 agents to list.
maxResults
- The maximum number of agents to list.public Integer getMaxResults()
The maximum number of agents to list.
public ListAgentsRequest withMaxResults(Integer maxResults)
The maximum number of agents to list.
maxResults
- The maximum number of agents to list.public void setNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of agents.
nextToken
- An opaque string that indicates the position at which to begin the next list of agents.public String getNextToken()
An opaque string that indicates the position at which to begin the next list of agents.
public ListAgentsRequest withNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of agents.
nextToken
- An opaque string that indicates the position at which to begin the next list of agents.public String toString()
toString
in class Object
Object.toString()
public ListAgentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()