Class AgentInfo
- All Implemented Interfaces:
Serializable,Cloneable
Information about agents associated with the user’s AWS account. Information includes agent IDs, IP addresses, media access control (MAC) addresses, agent health, hostname where the agent resides, and agent version for each agent.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe agent ID.Network details about the host where the agent resides.This data type is currently not valid.The health of the agent.The name of the host where the agent resides.The agent version.inthashCode()voidsetAgentId(String agentId) The agent ID.voidsetAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList) Network details about the host where the agent resides.voidsetConnectorId(String connectorId) This data type is currently not valid.voidsetHealth(AgentStatus health) The health of the agent.voidThe health of the agent.voidsetHostName(String hostName) The name of the host where the agent resides.voidsetVersion(String version) The agent version.toString()Returns a string representation of this object; useful for testing and debugging.withAgentId(String agentId) The agent ID.withAgentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList) Network details about the host where the agent resides.withAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList) Network details about the host where the agent resides.withConnectorId(String connectorId) This data type is currently not valid.withHealth(AgentStatus health) The health of the agent.withHealth(String health) The health of the agent.withHostName(String hostName) The name of the host where the agent resides.withVersion(String version) The agent version.
-
Constructor Details
-
AgentInfo
public AgentInfo()
-
-
Method Details
-
setAgentId
The agent ID.
- Parameters:
agentId- The agent ID.
-
getAgentId
The agent ID.
- Returns:
- The agent ID.
-
withAgentId
The agent ID.
- Parameters:
agentId- The agent ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHostName
The name of the host where the agent resides. The host can be a server or virtual machine.
- Parameters:
hostName- The name of the host where the agent resides. The host can be a server or virtual machine.
-
getHostName
The name of the host where the agent resides. The host can be a server or virtual machine.
- Returns:
- The name of the host where the agent resides. The host can be a server or virtual machine.
-
withHostName
The name of the host where the agent resides. The host can be a server or virtual machine.
- Parameters:
hostName- The name of the host where the agent 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.
-
getAgentNetworkInfoList
Network details about the host where the agent resides.
- Returns:
- Network details about the host where the agent resides.
-
setAgentNetworkInfoList
Network details about the host where the agent resides.
- Parameters:
agentNetworkInfoList- Network details about the host where the agent resides.
-
withAgentNetworkInfoList
Network details about the host where the agent resides.
NOTE: This method appends the values to the existing list (if any). Use
setAgentNetworkInfoList(java.util.Collection)orwithAgentNetworkInfoList(java.util.Collection)if you want to override the existing values.- Parameters:
agentNetworkInfoList- Network details about the host where the agent resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAgentNetworkInfoList
Network details about the host where the agent resides.
- Parameters:
agentNetworkInfoList- Network details about the host where the agent resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectorId
This data type is currently not valid.
- Parameters:
connectorId- This data type is currently not valid.
-
getConnectorId
This data type is currently not valid.
- Returns:
- This data type is currently not valid.
-
withConnectorId
This data type is currently not valid.
- Parameters:
connectorId- This data type is currently not valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
The agent version.
- Parameters:
version- The agent version.
-
getVersion
The agent version.
- Returns:
- The agent version.
-
withVersion
The agent version.
- Parameters:
version- The agent version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHealth
The health of the agent.
- Parameters:
health- The health of the agent.- See Also:
-
getHealth
The health of the agent.
- Returns:
- The health of the agent.
- See Also:
-
withHealth
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:
-
setHealth
The health of the agent.
- Parameters:
health- The health of the agent.- See Also:
-
withHealth
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:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-