public class DescribeAgentsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<AgentInfo> |
agentsInfo
Lists AWS agents by ID or lists all agents associated with your user
account if you did not specify an agent ID.
|
private java.lang.String |
nextToken
The call returns a token.
|
Constructor and Description |
---|
DescribeAgentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.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.
|
java.lang.String |
getNextToken()
The call returns a token.
|
int |
hashCode() |
void |
setAgentsInfo(java.util.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(java.lang.String nextToken)
The call returns a token.
|
java.lang.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(java.util.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(java.lang.String nextToken)
The call returns a token.
|
private java.util.List<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.
private java.lang.String nextToken
The call returns a token. Use this token to get the next set of results.
public java.util.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(java.util.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(java.util.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(java.lang.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 java.lang.String getNextToken()
The call returns a token. Use this token to get the next set of results.
public DescribeAgentsResult withNextToken(java.lang.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 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 DescribeAgentsResult clone()
clone
in class java.lang.Object