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