Class DescribeAgentsResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID.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.toString()
Returns a string representation of this object; useful for testing and debugging.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.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.withNextToken
(String nextToken) The call returns a token.
-
Constructor Details
-
DescribeAgentsResult
public DescribeAgentsResult()
-
-
Method Details
-
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.
- Returns:
- 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.
-
setAgentsInfo
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.
- Parameters:
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.
-
withAgentsInfo
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)
orwithAgentsInfo(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAgentsInfo
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The call returns a token. Use this token to get the next set of results.
- Parameters:
nextToken
- The call returns a token. Use this token to get the next set of results.
-
getNextToken
The call returns a token. Use this token to get the next set of results.
- Returns:
- The call returns a token. Use this token to get the next set of results.
-
withNextToken
The call returns a token. Use this token to get the next set of results.
- Parameters:
nextToken
- The call returns a token. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-