@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EthernetStatus extends Object implements Serializable, Cloneable, StructuredPojo
A device's Ethernet status.
| Constructor and Description |
|---|
EthernetStatus() |
| Modifier and Type | Method and Description |
|---|---|
EthernetStatus |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionStatus()
The device's connection status.
|
String |
getHwAddress()
The device's physical address.
|
String |
getIpAddress()
The device's IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConnectionStatus(String connectionStatus)
The device's connection status.
|
void |
setHwAddress(String hwAddress)
The device's physical address.
|
void |
setIpAddress(String ipAddress)
The device's IP address.
|
String |
toString()
Returns a string representation of this object.
|
EthernetStatus |
withConnectionStatus(NetworkConnectionStatus connectionStatus)
The device's connection status.
|
EthernetStatus |
withConnectionStatus(String connectionStatus)
The device's connection status.
|
EthernetStatus |
withHwAddress(String hwAddress)
The device's physical address.
|
EthernetStatus |
withIpAddress(String ipAddress)
The device's IP address.
|
public void setConnectionStatus(String connectionStatus)
The device's connection status.
connectionStatus - The device's connection status.NetworkConnectionStatuspublic String getConnectionStatus()
The device's connection status.
NetworkConnectionStatuspublic EthernetStatus withConnectionStatus(String connectionStatus)
The device's connection status.
connectionStatus - The device's connection status.NetworkConnectionStatuspublic EthernetStatus withConnectionStatus(NetworkConnectionStatus connectionStatus)
The device's connection status.
connectionStatus - The device's connection status.NetworkConnectionStatuspublic void setHwAddress(String hwAddress)
The device's physical address.
hwAddress - The device's physical address.public String getHwAddress()
The device's physical address.
public EthernetStatus withHwAddress(String hwAddress)
The device's physical address.
hwAddress - The device's physical address.public void setIpAddress(String ipAddress)
The device's IP address.
ipAddress - The device's IP address.public String getIpAddress()
The device's IP address.
public EthernetStatus withIpAddress(String ipAddress)
The device's IP address.
ipAddress - The device's IP address.public String toString()
toString in class ObjectObject.toString()public EthernetStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.