public class AgentNetworkInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Network details about the host where the agent resides.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
ipAddress
The IP address for the host where the agent resides.
|
private java.lang.String |
macAddress
The MAC address for the host where the agent resides.
|
Constructor and Description |
---|
AgentNetworkInfo() |
Modifier and Type | Method and Description |
---|---|
AgentNetworkInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIpAddress()
The IP address for the host where the agent resides.
|
java.lang.String |
getMacAddress()
The MAC address for the host where the agent resides.
|
int |
hashCode() |
void |
setIpAddress(java.lang.String ipAddress)
The IP address for the host where the agent resides.
|
void |
setMacAddress(java.lang.String macAddress)
The MAC address for the host where the agent resides.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentNetworkInfo |
withIpAddress(java.lang.String ipAddress)
The IP address for the host where the agent resides.
|
AgentNetworkInfo |
withMacAddress(java.lang.String macAddress)
The MAC address for the host where the agent resides.
|
private java.lang.String ipAddress
The IP address for the host where the agent resides.
private java.lang.String macAddress
The MAC address for the host where the agent resides.
public void setIpAddress(java.lang.String ipAddress)
The IP address for the host where the agent resides.
ipAddress
- The IP address for the host where the agent resides.public java.lang.String getIpAddress()
The IP address for the host where the agent resides.
public AgentNetworkInfo withIpAddress(java.lang.String ipAddress)
The IP address for the host where the agent resides.
ipAddress
- The IP address for the host where the agent resides.public void setMacAddress(java.lang.String macAddress)
The MAC address for the host where the agent resides.
macAddress
- The MAC address for the host where the agent resides.public java.lang.String getMacAddress()
The MAC address for the host where the agent resides.
public AgentNetworkInfo withMacAddress(java.lang.String macAddress)
The MAC address for the host where the agent resides.
macAddress
- The MAC address for the host where the agent resides.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AgentNetworkInfo clone()
clone
in class java.lang.Object