Class AgentInfo

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class AgentInfo
    extends Object
    implements Serializable, Cloneable

    Information about agents associated with the user’s AWS account. Information includes agent IDs, IP addresses, media access control (MAC) addresses, agent health, hostname where the agent resides, and agent version for each agent.

    See Also:
    Serialized Form
    • Constructor Detail

      • AgentInfo

        public AgentInfo()
    • Method Detail

      • setAgentId

        public void setAgentId​(String agentId)

        The agent ID.

        Parameters:
        agentId - The agent ID.
      • getAgentId

        public String getAgentId()

        The agent ID.

        Returns:
        The agent ID.
      • withAgentId

        public AgentInfo withAgentId​(String agentId)

        The agent ID.

        Parameters:
        agentId - The agent ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHostName

        public void setHostName​(String hostName)

        The name of the host where the agent resides. The host can be a server or virtual machine.

        Parameters:
        hostName - The name of the host where the agent resides. The host can be a server or virtual machine.
      • getHostName

        public String getHostName()

        The name of the host where the agent resides. The host can be a server or virtual machine.

        Returns:
        The name of the host where the agent resides. The host can be a server or virtual machine.
      • withHostName

        public AgentInfo withHostName​(String hostName)

        The name of the host where the agent resides. The host can be a server or virtual machine.

        Parameters:
        hostName - The name of the host where the agent resides. The host can be a server or virtual machine.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAgentNetworkInfoList

        public List<AgentNetworkInfo> getAgentNetworkInfoList()

        Network details about the host where the agent resides.

        Returns:
        Network details about the host where the agent resides.
      • setAgentNetworkInfoList

        public void setAgentNetworkInfoList​(Collection<AgentNetworkInfo> agentNetworkInfoList)

        Network details about the host where the agent resides.

        Parameters:
        agentNetworkInfoList - Network details about the host where the agent resides.
      • withAgentNetworkInfoList

        public AgentInfo withAgentNetworkInfoList​(Collection<AgentNetworkInfo> agentNetworkInfoList)

        Network details about the host where the agent resides.

        Parameters:
        agentNetworkInfoList - Network details about the host where the agent resides.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConnectorId

        public void setConnectorId​(String connectorId)

        This data type is currently not valid.

        Parameters:
        connectorId - This data type is currently not valid.
      • getConnectorId

        public String getConnectorId()

        This data type is currently not valid.

        Returns:
        This data type is currently not valid.
      • withConnectorId

        public AgentInfo withConnectorId​(String connectorId)

        This data type is currently not valid.

        Parameters:
        connectorId - This data type is currently not valid.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVersion

        public void setVersion​(String version)

        The agent version.

        Parameters:
        version - The agent version.
      • getVersion

        public String getVersion()

        The agent version.

        Returns:
        The agent version.
      • withVersion

        public AgentInfo withVersion​(String version)

        The agent version.

        Parameters:
        version - The agent version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHealth

        public void setHealth​(String health)

        The health of the agent.

        Parameters:
        health - The health of the agent.
        See Also:
        AgentStatus
      • getHealth

        public String getHealth()

        The health of the agent.

        Returns:
        The health of the agent.
        See Also:
        AgentStatus
      • withHealth

        public AgentInfo withHealth​(String health)

        The health of the agent.

        Parameters:
        health - The health of the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentStatus
      • setHealth

        public void setHealth​(AgentStatus health)

        The health of the agent.

        Parameters:
        health - The health of the agent.
        See Also:
        AgentStatus
      • withHealth

        public AgentInfo withHealth​(AgentStatus health)

        The health of the agent.

        Parameters:
        health - The health of the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentStatus
      • 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