Class AgentNetworkInfo
- java.lang.Object
-
- com.amazonaws.services.applicationdiscovery.model.AgentNetworkInfo
-
- All Implemented Interfaces:
Serializable,Cloneable
public class AgentNetworkInfo extends Object implements Serializable, Cloneable
Network details about the host where the agent resides.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AgentNetworkInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentNetworkInfoclone()booleanequals(Object obj)StringgetIpAddress()The IP address for the host where the agent resides.StringgetMacAddress()The MAC address for the host where the agent resides.inthashCode()voidsetIpAddress(String ipAddress)The IP address for the host where the agent resides.voidsetMacAddress(String macAddress)The MAC address for the host where the agent resides.StringtoString()Returns a string representation of this object; useful for testing and debugging.AgentNetworkInfowithIpAddress(String ipAddress)The IP address for the host where the agent resides.AgentNetworkInfowithMacAddress(String macAddress)The MAC address for the host where the agent resides.
-
-
-
Method Detail
-
setIpAddress
public void setIpAddress(String ipAddress)
The IP address for the host where the agent resides.
- Parameters:
ipAddress- The IP address for the host where the agent resides.
-
getIpAddress
public String getIpAddress()
The IP address for the host where the agent resides.
- Returns:
- The IP address for the host where the agent resides.
-
withIpAddress
public AgentNetworkInfo withIpAddress(String ipAddress)
The IP address for the host where the agent resides.
- Parameters:
ipAddress- The IP address for the host where the agent resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMacAddress
public void setMacAddress(String macAddress)
The MAC address for the host where the agent resides.
- Parameters:
macAddress- The MAC address for the host where the agent resides.
-
getMacAddress
public String getMacAddress()
The MAC address for the host where the agent resides.
- Returns:
- The MAC address for the host where the agent resides.
-
withMacAddress
public AgentNetworkInfo withMacAddress(String macAddress)
The MAC address for the host where the agent resides.
- Parameters:
macAddress- The MAC address for the host where the agent resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AgentNetworkInfo clone()
-
-