Class DescribeAgentsResult

    • Constructor Detail

      • DescribeAgentsResult

        public DescribeAgentsResult()
    • 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) or withAgentsInfo(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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object