@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.NetworkConnectionStatus
public String getConnectionStatus()
The device's connection status.
NetworkConnectionStatus
public EthernetStatus withConnectionStatus(String connectionStatus)
The device's connection status.
connectionStatus
- The device's connection status.NetworkConnectionStatus
public EthernetStatus withConnectionStatus(NetworkConnectionStatus connectionStatus)
The device's connection status.
connectionStatus
- The device's connection status.NetworkConnectionStatus
public 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 Object
Object.toString()
public EthernetStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.