Interface AgentInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentInfo.Builder,
,AgentInfo> SdkBuilder<AgentInfo.Builder,
,AgentInfo> SdkPojo
- Enclosing class:
AgentInfo
-
Method Summary
Modifier and TypeMethodDescriptionThe agent or collector ID.agentNetworkInfoList
(Collection<AgentNetworkInfo> agentNetworkInfoList) Network details about the host where the agent or collector resides.agentNetworkInfoList
(Consumer<AgentNetworkInfo.Builder>... agentNetworkInfoList) Network details about the host where the agent or collector resides.agentNetworkInfoList
(AgentNetworkInfo... agentNetworkInfoList) Network details about the host where the agent or collector resides.Type of agent.collectionStatus
(String collectionStatus) Status of the collection process for an agent.connectorId
(String connectorId) The ID of the connector.The health of the agent.health
(AgentStatus health) The health of the agent.The name of the host where the agent or collector resides.lastHealthPingTime
(String lastHealthPingTime) Time since agent health was reported.registeredTime
(String registeredTime) Agent's first registration timestamp in UTC.The agent or collector version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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 viaAgentNetworkInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentNetworkInfoList(List<AgentNetworkInfo>)
.- Parameters:
agentNetworkInfoList
- a consumer that will call methods onAgentNetworkInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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:
-
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:
-
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
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
Type of agent.
- Parameters:
agentType
- Type of agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-