@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EthernetPayload extends Object implements Serializable, Cloneable, StructuredPojo
A device's network configuration.
Constructor and Description |
---|
EthernetPayload() |
Modifier and Type | Method and Description |
---|---|
EthernetPayload |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionType()
How the device gets an IP address.
|
StaticIpConnectionInfo |
getStaticIpConnectionInfo()
Network configuration for a static IP connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionType(String connectionType)
How the device gets an IP address.
|
void |
setStaticIpConnectionInfo(StaticIpConnectionInfo staticIpConnectionInfo)
Network configuration for a static IP connection.
|
String |
toString()
Returns a string representation of this object.
|
EthernetPayload |
withConnectionType(ConnectionType connectionType)
How the device gets an IP address.
|
EthernetPayload |
withConnectionType(String connectionType)
How the device gets an IP address.
|
EthernetPayload |
withStaticIpConnectionInfo(StaticIpConnectionInfo staticIpConnectionInfo)
Network configuration for a static IP connection.
|
public void setConnectionType(String connectionType)
How the device gets an IP address.
connectionType
- How the device gets an IP address.ConnectionType
public String getConnectionType()
How the device gets an IP address.
ConnectionType
public EthernetPayload withConnectionType(String connectionType)
How the device gets an IP address.
connectionType
- How the device gets an IP address.ConnectionType
public EthernetPayload withConnectionType(ConnectionType connectionType)
How the device gets an IP address.
connectionType
- How the device gets an IP address.ConnectionType
public void setStaticIpConnectionInfo(StaticIpConnectionInfo staticIpConnectionInfo)
Network configuration for a static IP connection.
staticIpConnectionInfo
- Network configuration for a static IP connection.public StaticIpConnectionInfo getStaticIpConnectionInfo()
Network configuration for a static IP connection.
public EthernetPayload withStaticIpConnectionInfo(StaticIpConnectionInfo staticIpConnectionInfo)
Network configuration for a static IP connection.
staticIpConnectionInfo
- Network configuration for a static IP connection.public String toString()
toString
in class Object
Object.toString()
public EthernetPayload clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.