@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about agents associated with the user’s Amazon Web Services account. Information includes agent IDs, IP addresses, media access control (MAC) addresses, agent or collector status, 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 or collector ID.
|
List<AgentNetworkInfo> |
getAgentNetworkInfoList()
Network details about the host where the agent or collector resides.
|
String |
getAgentType()
Type of agent.
|
String |
getCollectionStatus()
Status of the collection process for an agent.
|
String |
getConnectorId()
The ID of the connector.
|
String |
getHealth()
The health of the agent.
|
String |
getHostName()
The name of the host where the agent or collector resides.
|
String |
getLastHealthPingTime()
Time since agent health was reported.
|
String |
getRegisteredTime()
Agent's first registration timestamp in UTC.
|
String |
getVersion()
The agent or collector version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentId(String agentId)
The agent or collector ID.
|
void |
setAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent or collector resides.
|
void |
setAgentType(String agentType)
Type of agent.
|
void |
setCollectionStatus(String collectionStatus)
Status of the collection process for an agent.
|
void |
setConnectorId(String connectorId)
The ID of the connector.
|
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 or collector resides.
|
void |
setLastHealthPingTime(String lastHealthPingTime)
Time since agent health was reported.
|
void |
setRegisteredTime(String registeredTime)
Agent's first registration timestamp in UTC.
|
void |
setVersion(String version)
The agent or collector version.
|
String |
toString()
Returns a string representation of this object.
|
AgentInfo |
withAgentId(String agentId)
The agent or collector ID.
|
AgentInfo |
withAgentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList)
Network details about the host where the agent or collector resides.
|
AgentInfo |
withAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent or collector resides.
|
AgentInfo |
withAgentType(String agentType)
Type of agent.
|
AgentInfo |
withCollectionStatus(String collectionStatus)
Status of the collection process for an agent.
|
AgentInfo |
withConnectorId(String connectorId)
The ID of the connector.
|
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 or collector resides.
|
AgentInfo |
withLastHealthPingTime(String lastHealthPingTime)
Time since agent health was reported.
|
AgentInfo |
withRegisteredTime(String registeredTime)
Agent's first registration timestamp in UTC.
|
AgentInfo |
withVersion(String version)
The agent or collector version.
|
public void setAgentId(String agentId)
The agent or collector ID.
agentId
- The agent or collector ID.public String getAgentId()
The agent or collector ID.
public AgentInfo withAgentId(String agentId)
The agent or collector ID.
agentId
- The agent or collector ID.public void setHostName(String hostName)
The name of the host where the agent or collector resides. The host can be a server or virtual machine.
hostName
- The name of the host where the agent or collector resides. The host can be a server or virtual machine.public String getHostName()
The name of the host where the agent or collector resides. The host can be a server or virtual machine.
public AgentInfo withHostName(String hostName)
The name of the host where the agent or collector resides. The host can be a server or virtual machine.
hostName
- The name of the host where the agent or collector resides. The host can be a server or virtual machine.public List<AgentNetworkInfo> getAgentNetworkInfoList()
Network details about the host where the agent or collector resides.
public void setAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent or collector resides.
agentNetworkInfoList
- Network details about the host where the agent or collector resides.public AgentInfo withAgentNetworkInfoList(AgentNetworkInfo... agentNetworkInfoList)
Network details about the host where the agent or collector 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 or collector resides.public AgentInfo withAgentNetworkInfoList(Collection<AgentNetworkInfo> agentNetworkInfoList)
Network details about the host where the agent or collector resides.
agentNetworkInfoList
- Network details about the host where the agent or collector resides.public void setConnectorId(String connectorId)
The ID of the connector.
connectorId
- The ID of the connector.public String getConnectorId()
The ID of the connector.
public AgentInfo withConnectorId(String connectorId)
The ID of the connector.
connectorId
- The ID of the connector.public void setVersion(String version)
The agent or collector version.
version
- The agent or collector version.public String getVersion()
The agent or collector version.
public AgentInfo withVersion(String version)
The agent or collector version.
version
- The agent or collector 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 void setLastHealthPingTime(String lastHealthPingTime)
Time since agent health was reported.
lastHealthPingTime
- Time since agent health was reported.public String getLastHealthPingTime()
Time since agent health was reported.
public AgentInfo withLastHealthPingTime(String lastHealthPingTime)
Time since agent health was reported.
lastHealthPingTime
- Time since agent health was reported.public void setCollectionStatus(String collectionStatus)
Status of the collection process for an agent.
collectionStatus
- Status of the collection process for an agent.public String getCollectionStatus()
Status of the collection process for an agent.
public AgentInfo withCollectionStatus(String collectionStatus)
Status of the collection process for an agent.
collectionStatus
- Status of the collection process for an agent.public void setAgentType(String agentType)
Type of agent.
agentType
- Type of agent.public String getAgentType()
Type of agent.
public AgentInfo withAgentType(String agentType)
Type of agent.
agentType
- Type of agent.public void setRegisteredTime(String registeredTime)
Agent's first registration timestamp in UTC.
registeredTime
- Agent's first registration timestamp in UTC.public String getRegisteredTime()
Agent's first registration timestamp in UTC.
public AgentInfo withRegisteredTime(String registeredTime)
Agent's first registration timestamp in UTC.
registeredTime
- Agent's first registration timestamp in UTC.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.