public class DescribeAgentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeAgentsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getAgentIds()
The agent IDs for which you want information.
|
Integer |
getMaxResults()
The total number of agents to return.
|
String |
getNextToken()
A token to start the list.
|
int |
hashCode() |
void |
setAgentIds(Collection<String> agentIds)
The agent IDs for which you want information.
|
void |
setMaxResults(Integer maxResults)
The total number of agents to return.
|
void |
setNextToken(String nextToken)
A token to start the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAgentsRequest |
withAgentIds(Collection<String> agentIds)
The agent IDs for which you want information.
|
DescribeAgentsRequest |
withAgentIds(String... agentIds)
The agent IDs for which you want information.
|
DescribeAgentsRequest |
withMaxResults(Integer maxResults)
The total number of agents to return.
|
DescribeAgentsRequest |
withNextToken(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
public List<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(Collection<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(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(Collection<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(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 Integer getMaxResults()
The total number of agents to return. The maximum value is 100.
public DescribeAgentsRequest withMaxResults(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(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 String getNextToken()
A token to start the list. Use this token to get the next set of results.
public DescribeAgentsRequest withNextToken(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 String toString()
toString
in class Object
Object.toString()
public DescribeAgentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.