@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkStatus extends Object implements Serializable, Cloneable, StructuredPojo
The network status of a device.
Constructor and Description |
---|
NetworkStatus() |
Modifier and Type | Method and Description |
---|---|
NetworkStatus |
clone() |
boolean |
equals(Object obj) |
EthernetStatus |
getEthernet0Status()
The status of Ethernet port 0.
|
EthernetStatus |
getEthernet1Status()
The status of Ethernet port 1.
|
Date |
getLastUpdatedTime()
When the network status changed.
|
NtpStatus |
getNtpStatus()
Details about a network time protocol (NTP) server connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEthernet0Status(EthernetStatus ethernet0Status)
The status of Ethernet port 0.
|
void |
setEthernet1Status(EthernetStatus ethernet1Status)
The status of Ethernet port 1.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
When the network status changed.
|
void |
setNtpStatus(NtpStatus ntpStatus)
Details about a network time protocol (NTP) server connection.
|
String |
toString()
Returns a string representation of this object.
|
NetworkStatus |
withEthernet0Status(EthernetStatus ethernet0Status)
The status of Ethernet port 0.
|
NetworkStatus |
withEthernet1Status(EthernetStatus ethernet1Status)
The status of Ethernet port 1.
|
NetworkStatus |
withLastUpdatedTime(Date lastUpdatedTime)
When the network status changed.
|
NetworkStatus |
withNtpStatus(NtpStatus ntpStatus)
Details about a network time protocol (NTP) server connection.
|
public void setEthernet0Status(EthernetStatus ethernet0Status)
The status of Ethernet port 0.
ethernet0Status
- The status of Ethernet port 0.public EthernetStatus getEthernet0Status()
The status of Ethernet port 0.
public NetworkStatus withEthernet0Status(EthernetStatus ethernet0Status)
The status of Ethernet port 0.
ethernet0Status
- The status of Ethernet port 0.public void setEthernet1Status(EthernetStatus ethernet1Status)
The status of Ethernet port 1.
ethernet1Status
- The status of Ethernet port 1.public EthernetStatus getEthernet1Status()
The status of Ethernet port 1.
public NetworkStatus withEthernet1Status(EthernetStatus ethernet1Status)
The status of Ethernet port 1.
ethernet1Status
- The status of Ethernet port 1.public void setLastUpdatedTime(Date lastUpdatedTime)
When the network status changed.
lastUpdatedTime
- When the network status changed.public Date getLastUpdatedTime()
When the network status changed.
public NetworkStatus withLastUpdatedTime(Date lastUpdatedTime)
When the network status changed.
lastUpdatedTime
- When the network status changed.public void setNtpStatus(NtpStatus ntpStatus)
Details about a network time protocol (NTP) server connection.
ntpStatus
- Details about a network time protocol (NTP) server connection.public NtpStatus getNtpStatus()
Details about a network time protocol (NTP) server connection.
public NetworkStatus withNtpStatus(NtpStatus ntpStatus)
Details about a network time protocol (NTP) server connection.
ntpStatus
- Details about a network time protocol (NTP) server connection.public String toString()
toString
in class Object
Object.toString()
public NetworkStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.