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 AgentNetworkInfo
clone()
boolean
equals(Object obj)
String
getIpAddress()
The IP address for the host where the agent resides.String
getMacAddress()
The MAC address for the host where the agent resides.int
hashCode()
void
setIpAddress(String ipAddress)
The IP address for the host where the agent resides.void
setMacAddress(String macAddress)
The MAC address for the host where the agent resides.String
toString()
Returns a string representation of this object; useful for testing and debugging.AgentNetworkInfo
withIpAddress(String ipAddress)
The IP address for the host where the agent resides.AgentNetworkInfo
withMacAddress(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AgentNetworkInfo clone()
-
-