Interface AgentInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgentInfo.Builder,AgentInfo>,SdkBuilder<AgentInfo.Builder,AgentInfo>,SdkPojo
- Enclosing class:
- AgentInfo
public static interface AgentInfo.Builder extends SdkPojo, CopyableBuilder<AgentInfo.Builder,AgentInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentInfo.BuilderagentId(String agentId)The agent or collector ID.AgentInfo.BuilderagentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)Network details about the host where the agent or collector resides.AgentInfo.BuilderagentNetworkInfoList(Consumer<AgentNetworkInfo.Builder>... agentNetworkInfoList)Network details about the host where the agent or collector resides.AgentInfo.BuilderagentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList)Network details about the host where the agent or collector resides.AgentInfo.BuilderagentType(String agentType)Type of agent.AgentInfo.BuildercollectionStatus(String collectionStatus)Status of the collection process for an agent.AgentInfo.BuilderconnectorId(String connectorId)The ID of the connector.AgentInfo.Builderhealth(String health)The health of the agent.AgentInfo.Builderhealth(AgentStatus health)The health of the agent.AgentInfo.BuilderhostName(String hostName)The name of the host where the agent or collector resides.AgentInfo.BuilderlastHealthPingTime(String lastHealthPingTime)Time since agent health was reported.AgentInfo.BuilderregisteredTime(String registeredTime)Agent's first registration timestamp in UTC.AgentInfo.Builderversion(String version)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 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.
-
agentNetworkInfoList
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.Builderavoiding the need to create one manually viaAgentNetworkInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#agentNetworkInfoList(List.) - 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:
#agentNetworkInfoList(java.util.Collection)
-
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.
-
-