@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkPayload extends Object implements Serializable, Cloneable, StructuredPojo
The network configuration for a device.
| Constructor and Description |
|---|
NetworkPayload() |
| Modifier and Type | Method and Description |
|---|---|
NetworkPayload |
clone() |
boolean |
equals(Object obj) |
EthernetPayload |
getEthernet0()
Settings for Ethernet port 0.
|
EthernetPayload |
getEthernet1()
Settings for Ethernet port 1.
|
NtpPayload |
getNtp()
Network time protocol (NTP) server settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEthernet0(EthernetPayload ethernet0)
Settings for Ethernet port 0.
|
void |
setEthernet1(EthernetPayload ethernet1)
Settings for Ethernet port 1.
|
void |
setNtp(NtpPayload ntp)
Network time protocol (NTP) server settings.
|
String |
toString()
Returns a string representation of this object.
|
NetworkPayload |
withEthernet0(EthernetPayload ethernet0)
Settings for Ethernet port 0.
|
NetworkPayload |
withEthernet1(EthernetPayload ethernet1)
Settings for Ethernet port 1.
|
NetworkPayload |
withNtp(NtpPayload ntp)
Network time protocol (NTP) server settings.
|
public void setEthernet0(EthernetPayload ethernet0)
Settings for Ethernet port 0.
ethernet0 - Settings for Ethernet port 0.public EthernetPayload getEthernet0()
Settings for Ethernet port 0.
public NetworkPayload withEthernet0(EthernetPayload ethernet0)
Settings for Ethernet port 0.
ethernet0 - Settings for Ethernet port 0.public void setEthernet1(EthernetPayload ethernet1)
Settings for Ethernet port 1.
ethernet1 - Settings for Ethernet port 1.public EthernetPayload getEthernet1()
Settings for Ethernet port 1.
public NetworkPayload withEthernet1(EthernetPayload ethernet1)
Settings for Ethernet port 1.
ethernet1 - Settings for Ethernet port 1.public void setNtp(NtpPayload ntp)
Network time protocol (NTP) server settings.
ntp - Network time protocol (NTP) server settings.public NtpPayload getNtp()
Network time protocol (NTP) server settings.
public NetworkPayload withNtp(NtpPayload ntp)
Network time protocol (NTP) server settings.
ntp - Network time protocol (NTP) server settings.public String toString()
toString in class ObjectObject.toString()public NetworkPayload clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.