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 connector ID.
|
AgentInfo.Builder |
agentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList)
Network details about the host where the agent or connector resides.
|
AgentInfo.Builder |
agentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent or connector resides.
|
AgentInfo.Builder |
agentNetworkInfoList(Consumer<AgentNetworkInfo.Builder>... agentNetworkInfoList)
Network details about the host where the agent or connector resides.
|
AgentInfo.Builder |
agentType(String agentType)
Type of agent.
|
AgentInfo.Builder |
collectionStatus(String collectionStatus)
Status of the collection process for an agent or connector.
|
AgentInfo.Builder |
connectorId(String connectorId)
The ID of the connector.
|
AgentInfo.Builder |
health(AgentStatus health)
The health of the agent or connector.
|
AgentInfo.Builder |
health(String health)
The health of the agent or connector.
|
AgentInfo.Builder |
hostName(String hostName)
The name of the host where the agent or connector resides.
|
AgentInfo.Builder |
lastHealthPingTime(String lastHealthPingTime)
Time since agent or connector health was reported.
|
AgentInfo.Builder |
registeredTime(String registeredTime)
Agent's first registration timestamp in UTC.
|
AgentInfo.Builder |
version(String version)
The agent or connector version.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAgentInfo.Builder agentId(String agentId)
The agent or connector ID.
agentId - The agent or connector ID.AgentInfo.Builder hostName(String hostName)
The name of the host where the agent or connector resides. The host can be a server or virtual machine.
hostName - The name of the host where the agent or connector 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 connector resides.
agentNetworkInfoList - Network details about the host where the agent or connector resides.AgentInfo.Builder agentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList)
Network details about the host where the agent or connector resides.
agentNetworkInfoList - Network details about the host where the agent or connector resides.AgentInfo.Builder agentNetworkInfoList(Consumer<AgentNetworkInfo.Builder>... agentNetworkInfoList)
Network details about the host where the agent or connector 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 connector version.
version - The agent or connector version.AgentInfo.Builder health(String health)
The health of the agent or connector.
health - The health of the agent or connector.AgentStatus,
AgentStatusAgentInfo.Builder health(AgentStatus health)
The health of the agent or connector.
health - The health of the agent or connector.AgentStatus,
AgentStatusAgentInfo.Builder lastHealthPingTime(String lastHealthPingTime)
Time since agent or connector health was reported.
lastHealthPingTime - Time since agent or connector health was reported.AgentInfo.Builder collectionStatus(String collectionStatus)
Status of the collection process for an agent or connector.
collectionStatus - Status of the collection process for an agent or connector.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 © 2022. All rights reserved.