public class DescribeAgentsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
agentIds
The agent IDs for which you want information.
|
private java.lang.Integer |
maxResults
The total number of agents to return.
|
private java.lang.String |
nextToken
A token to start the list.
|
NOOP
Constructor and Description |
---|
DescribeAgentsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAgentIds()
The agent IDs for which you want information.
|
java.lang.Integer |
getMaxResults()
The total number of agents to return.
|
java.lang.String |
getNextToken()
A token to start the list.
|
int |
hashCode() |
void |
setAgentIds(java.util.Collection<java.lang.String> agentIds)
The agent IDs for which you want information.
|
void |
setMaxResults(java.lang.Integer maxResults)
The total number of agents to return.
|
void |
setNextToken(java.lang.String nextToken)
A token to start the list.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAgentsRequest |
withAgentIds(java.util.Collection<java.lang.String> agentIds)
The agent IDs for which you want information.
|
DescribeAgentsRequest |
withAgentIds(java.lang.String... agentIds)
The agent IDs for which you want information.
|
DescribeAgentsRequest |
withMaxResults(java.lang.Integer maxResults)
The total number of agents to return.
|
DescribeAgentsRequest |
withNextToken(java.lang.String nextToken)
A token to start the list.
|
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
private java.util.List<java.lang.String> agentIds
The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
private java.lang.Integer maxResults
The total number of agents to return. The maximum value is 100.
private java.lang.String nextToken
A token to start the list. Use this token to get the next set of results.
public java.util.List<java.lang.String> getAgentIds()
The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
public void setAgentIds(java.util.Collection<java.lang.String> agentIds)
The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
agentIds
- The agent IDs for which you want information. If you specify no
IDs, the system returns information about all agents associated
with your AWS user account.public DescribeAgentsRequest withAgentIds(java.lang.String... agentIds)
The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
NOTE: This method appends the values to the existing list (if
any). Use setAgentIds(java.util.Collection)
or
withAgentIds(java.util.Collection)
if you want to override the
existing values.
agentIds
- The agent IDs for which you want information. If you specify no
IDs, the system returns information about all agents associated
with your AWS user account.public DescribeAgentsRequest withAgentIds(java.util.Collection<java.lang.String> agentIds)
The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
agentIds
- The agent IDs for which you want information. If you specify no
IDs, the system returns information about all agents associated
with your AWS user account.public void setMaxResults(java.lang.Integer maxResults)
The total number of agents to return. The maximum value is 100.
maxResults
- The total number of agents to return. The maximum value is 100.public java.lang.Integer getMaxResults()
The total number of agents to return. The maximum value is 100.
public DescribeAgentsRequest withMaxResults(java.lang.Integer maxResults)
The total number of agents to return. The maximum value is 100.
maxResults
- The total number of agents to return. The maximum value is 100.public void setNextToken(java.lang.String nextToken)
A token to start the list. Use this token to get the next set of results.
nextToken
- A token to start the list. Use this token to get the next set of
results.public java.lang.String getNextToken()
A token to start the list. Use this token to get the next set of results.
public DescribeAgentsRequest withNextToken(java.lang.String nextToken)
A token to start the list. Use this token to get the next set of results.
nextToken
- A token to start the list. Use this token to get the next set of
results.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeAgentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()