Interface AgentInfo.Builder

    • Method Detail

      • agentId

        AgentInfo.Builder agentId​(String agentId)

        The agent or collector ID.

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

        AgentInfo.Builder hostName​(String hostName)

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

        Parameters:
        hostName - The name of the host where the agent or collector 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.
      • agentNetworkInfoList

        AgentInfo.Builder agentNetworkInfoList​(Collection<AgentNetworkInfo> agentNetworkInfoList)

        Network details about the host where the agent or collector resides.

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

        AgentInfo.Builder agentNetworkInfoList​(AgentNetworkInfo... agentNetworkInfoList)

        Network details about the host where the agent or collector resides.

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

        AgentInfo.Builder connectorId​(String connectorId)

        The ID of the connector.

        Parameters:
        connectorId - The ID of the connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        AgentInfo.Builder version​(String version)

        The agent or collector version.

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

        AgentInfo.Builder health​(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, AgentStatus
      • health

        AgentInfo.Builder health​(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, AgentStatus
      • lastHealthPingTime

        AgentInfo.Builder lastHealthPingTime​(String lastHealthPingTime)

        Time since agent health was reported.

        Parameters:
        lastHealthPingTime - Time since agent health was reported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • collectionStatus

        AgentInfo.Builder collectionStatus​(String collectionStatus)

        Status of the collection process for an agent.

        Parameters:
        collectionStatus - Status of the collection process for an agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentType

        AgentInfo.Builder agentType​(String agentType)

        Type of agent.

        Parameters:
        agentType - Type of agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • registeredTime

        AgentInfo.Builder registeredTime​(String registeredTime)

        Agent's first registration timestamp in UTC.

        Parameters:
        registeredTime - Agent's first registration timestamp in UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.