public static interface AgentInfo.Builder extends SdkPojo, CopyableBuilder<AgentInfo.Builder,AgentInfo>
| Modifier and Type | Method and Description |
|---|---|
AgentInfo.Builder |
agentId(String agentId)
The agent or collector ID.
|
AgentInfo.Builder |
agentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList)
Network details about the host where the agent or collector resides.
|
AgentInfo.Builder |
agentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent or collector resides.
|
AgentInfo.Builder |
agentNetworkInfoList(Consumer<AgentNetworkInfo.Builder>... agentNetworkInfoList)
Network details about the host where the agent or collector resides.
|
AgentInfo.Builder |
agentType(String agentType)
Type of agent.
|
AgentInfo.Builder |
collectionStatus(String collectionStatus)
Status of the collection process for an agent.
|
AgentInfo.Builder |
connectorId(String connectorId)
The ID of the connector.
|
AgentInfo.Builder |
health(AgentStatus health)
The health of the agent.
|
AgentInfo.Builder |
health(String health)
The health of the agent.
|
AgentInfo.Builder |
hostName(String hostName)
The name of the host where the agent or collector resides.
|
AgentInfo.Builder |
lastHealthPingTime(String lastHealthPingTime)
Time since agent health was reported.
|
AgentInfo.Builder |
registeredTime(String registeredTime)
Agent's first registration timestamp in UTC.
|
AgentInfo.Builder |
version(String version)
The agent or collector version.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAgentInfo.Builder agentId(String agentId)
The agent or collector ID.
agentId - The agent or collector ID.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.
hostName - The name of the host where the agent or collector resides. The host can be a server or virtual
machine.AgentInfo.Builder agentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent or collector resides.
agentNetworkInfoList - Network details about the host where the agent or collector resides.AgentInfo.Builder agentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList)
Network details about the host where the agent or collector resides.
agentNetworkInfoList - Network details about the host where the agent or collector resides.AgentInfo.Builder agentNetworkInfoList(Consumer<AgentNetworkInfo.Builder>... agentNetworkInfoList)
Network details about the host where the agent or collector resides.
This is a convenience method that creates an instance of theAgentNetworkInfo.Builder avoiding the need
to create one manually via
AgentNetworkInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #agentNetworkInfoList(List.
agentNetworkInfoList - a consumer that will call methods on
AgentNetworkInfo.Builder#agentNetworkInfoList(java.util.Collection) AgentInfo.Builder connectorId(String connectorId)
The ID of the connector.
connectorId - The ID of the connector.AgentInfo.Builder version(String version)
The agent or collector version.
version - The agent or collector version.AgentInfo.Builder health(String health)
The health of the agent.
health - The health of the agent.AgentStatus,
AgentStatusAgentInfo.Builder health(AgentStatus health)
The health of the agent.
health - The health of the agent.AgentStatus,
AgentStatusAgentInfo.Builder lastHealthPingTime(String lastHealthPingTime)
Time since agent health was reported.
lastHealthPingTime - Time since agent health was reported.AgentInfo.Builder collectionStatus(String collectionStatus)
Status of the collection process for an agent.
collectionStatus - Status of the collection process for an agent.AgentInfo.Builder agentType(String agentType)
Type of agent.
agentType - Type of agent.AgentInfo.Builder registeredTime(String registeredTime)
Agent's first registration timestamp in UTC.
registeredTime - Agent's first registration timestamp in UTC.Copyright © 2023. All rights reserved.