public class AgentInfo extends Object implements 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.
Constructor and Description |
---|
AgentInfo() |
Modifier and Type | Method and Description |
---|---|
AgentInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAgentId()
The agent ID.
|
List<AgentNetworkInfo> |
getAgentNetworkInfoList()
Network details about the host where the agent resides.
|
String |
getConnectorId()
This data type is currently not valid.
|
String |
getHealth()
The health of the agent.
|
String |
getHostName()
The name of the host where the agent resides.
|
String |
getVersion()
The agent version.
|
int |
hashCode() |
void |
setAgentId(String agentId)
The agent ID.
|
void |
setAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent resides.
|
void |
setConnectorId(String connectorId)
This data type is currently not valid.
|
void |
setHealth(AgentStatus health)
The health of the agent.
|
void |
setHealth(String health)
The health of the agent.
|
void |
setHostName(String hostName)
The name of the host where the agent resides.
|
void |
setVersion(String version)
The agent version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AgentInfo |
withAgentId(String agentId)
The agent ID.
|
AgentInfo |
withAgentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList)
Network details about the host where the agent resides.
|
AgentInfo |
withAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent resides.
|
AgentInfo |
withConnectorId(String connectorId)
This data type is currently not valid.
|
AgentInfo |
withHealth(AgentStatus health)
The health of the agent.
|
AgentInfo |
withHealth(String health)
The health of the agent.
|
AgentInfo |
withHostName(String hostName)
The name of the host where the agent resides.
|
AgentInfo |
withVersion(String version)
The agent version.
|
public void setAgentId(String agentId)
The agent ID.
agentId
- The agent ID.public String getAgentId()
The agent ID.
public AgentInfo withAgentId(String agentId)
The agent ID.
agentId
- The agent ID.public void setHostName(String hostName)
The name of the host where the agent resides. The host can be a server or virtual machine.
hostName
- The name of the host where the agent resides. The host can be a server or virtual machine.public String getHostName()
The name of the host where the agent resides. The host can be a server or virtual machine.
public AgentInfo withHostName(String hostName)
The name of the host where the agent resides. The host can be a server or virtual machine.
hostName
- The name of the host where the agent resides. The host can be a server or virtual machine.public List<AgentNetworkInfo> getAgentNetworkInfoList()
Network details about the host where the agent resides.
public void setAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent resides.
agentNetworkInfoList
- Network details about the host where the agent resides.public AgentInfo withAgentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList)
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)
or withAgentNetworkInfoList(java.util.Collection)
if you want to override the existing values.
agentNetworkInfoList
- Network details about the host where the agent resides.public AgentInfo withAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent resides.
agentNetworkInfoList
- Network details about the host where the agent resides.public void setConnectorId(String connectorId)
This data type is currently not valid.
connectorId
- This data type is currently not valid.public String getConnectorId()
This data type is currently not valid.
public AgentInfo withConnectorId(String connectorId)
This data type is currently not valid.
connectorId
- This data type is currently not valid.public void setVersion(String version)
The agent version.
version
- The agent version.public String getVersion()
The agent version.
public AgentInfo withVersion(String version)
The agent version.
version
- The agent version.public void setHealth(String health)
The health of the agent.
health
- The health of the agent.AgentStatus
public String getHealth()
The health of the agent.
AgentStatus
public AgentInfo withHealth(String health)
The health of the agent.
health
- The health of the agent.AgentStatus
public void setHealth(AgentStatus health)
The health of the agent.
health
- The health of the agent.AgentStatus
public AgentInfo withHealth(AgentStatus health)
The health of the agent.
health
- The health of the agent.AgentStatus
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.