@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NtpStatus extends Object implements Serializable, Cloneable, StructuredPojo
Details about an NTP server connection.
| Constructor and Description |
|---|
NtpStatus() |
| Modifier and Type | Method and Description |
|---|---|
NtpStatus |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionStatus()
The connection's status.
|
String |
getIpAddress()
The IP address of the server.
|
String |
getNtpServerName()
The domain name of the server.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConnectionStatus(String connectionStatus)
The connection's status.
|
void |
setIpAddress(String ipAddress)
The IP address of the server.
|
void |
setNtpServerName(String ntpServerName)
The domain name of the server.
|
String |
toString()
Returns a string representation of this object.
|
NtpStatus |
withConnectionStatus(NetworkConnectionStatus connectionStatus)
The connection's status.
|
NtpStatus |
withConnectionStatus(String connectionStatus)
The connection's status.
|
NtpStatus |
withIpAddress(String ipAddress)
The IP address of the server.
|
NtpStatus |
withNtpServerName(String ntpServerName)
The domain name of the server.
|
public void setConnectionStatus(String connectionStatus)
The connection's status.
connectionStatus - The connection's status.NetworkConnectionStatuspublic String getConnectionStatus()
The connection's status.
NetworkConnectionStatuspublic NtpStatus withConnectionStatus(String connectionStatus)
The connection's status.
connectionStatus - The connection's status.NetworkConnectionStatuspublic NtpStatus withConnectionStatus(NetworkConnectionStatus connectionStatus)
The connection's status.
connectionStatus - The connection's status.NetworkConnectionStatuspublic void setIpAddress(String ipAddress)
The IP address of the server.
ipAddress - The IP address of the server.public String getIpAddress()
The IP address of the server.
public NtpStatus withIpAddress(String ipAddress)
The IP address of the server.
ipAddress - The IP address of the server.public void setNtpServerName(String ntpServerName)
The domain name of the server.
ntpServerName - The domain name of the server.public String getNtpServerName()
The domain name of the server.
public NtpStatus withNtpServerName(String ntpServerName)
The domain name of the server.
ntpServerName - The domain name of the server.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.