Class DescribeAgentsResult
- java.lang.Object
-
- com.amazonaws.services.applicationdiscovery.model.DescribeAgentsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeAgentsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeAgentsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getAgentsInfo
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.
- 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
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.
- 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
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)
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
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.
- 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
public void setNextToken(String nextToken)
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
public String 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
public DescribeAgentsResult withNextToken(String nextToken)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeAgentsResult clone()
-
-