public class DescribeAgentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAgentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentsResult |
clone() |
boolean |
equals(Object obj) |
List<AgentInfo> |
getAgentsInfo()
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID.
|
String |
getNextToken()
The call returns a token.
|
int |
hashCode() |
void |
setAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID.
|
void |
setNextToken(String nextToken)
The call returns a token.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeAgentsResult |
withAgentsInfo(AgentInfo... agentsInfo)
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID.
|
DescribeAgentsResult |
withAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID.
|
DescribeAgentsResult |
withNextToken(String nextToken)
The call returns a token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AgentInfo> getAgentsInfo()
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID. The output includes agent IDs, IP addresses, media access control (MAC) addresses, agent health, host name where the agent resides, and the version number of each agent.
public void setAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID. The output includes agent IDs, IP addresses, media access control (MAC) addresses, agent health, host name where the agent resides, and the version number of each agent.
agentsInfo
- Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an
agent ID. The output includes agent IDs, IP addresses, media access control (MAC) addresses, agent health,
host name where the agent resides, and the version number of each agent.public DescribeAgentsResult withAgentsInfo(AgentInfo... agentsInfo)
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID. The output includes agent IDs, IP addresses, media access control (MAC) addresses, agent health, host name where the agent resides, and the version number of each agent.
NOTE: This method appends the values to the existing list (if any). Use
setAgentsInfo(java.util.Collection)
or withAgentsInfo(java.util.Collection)
if you want to
override the existing values.
agentsInfo
- Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an
agent ID. The output includes agent IDs, IP addresses, media access control (MAC) addresses, agent health,
host name where the agent resides, and the version number of each agent.public DescribeAgentsResult withAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID. The output includes agent IDs, IP addresses, media access control (MAC) addresses, agent health, host name where the agent resides, and the version number of each agent.
agentsInfo
- Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an
agent ID. The output includes agent IDs, IP addresses, media access control (MAC) addresses, agent health,
host name where the agent resides, and the version number of each agent.public void setNextToken(String nextToken)
The call returns a token. Use this token to get the next set of results.
nextToken
- The call returns a token. Use this token to get the next set of results.public String getNextToken()
The call returns a token. Use this token to get the next set of results.
public DescribeAgentsResult withNextToken(String nextToken)
The call returns a token. Use this token to get the next set of results.
nextToken
- The call returns a token. Use this token to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public DescribeAgentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.