@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NtpPayload extends Object implements Serializable, Cloneable, StructuredPojo
 Network time protocol (NTP) server settings. Use this option to connect to local NTP servers instead of
 pool.ntp.org.
 
| Constructor and Description | 
|---|
| NtpPayload() | 
| Modifier and Type | Method and Description | 
|---|---|
| NtpPayload | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getNtpServers()
 NTP servers to use, in order of preference. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setNtpServers(Collection<String> ntpServers)
 NTP servers to use, in order of preference. | 
| String | toString()Returns a string representation of this object. | 
| NtpPayload | withNtpServers(Collection<String> ntpServers)
 NTP servers to use, in order of preference. | 
| NtpPayload | withNtpServers(String... ntpServers)
 NTP servers to use, in order of preference. | 
public List<String> getNtpServers()
NTP servers to use, in order of preference.
public void setNtpServers(Collection<String> ntpServers)
NTP servers to use, in order of preference.
ntpServers - NTP servers to use, in order of preference.public NtpPayload withNtpServers(String... ntpServers)
NTP servers to use, in order of preference.
 NOTE: This method appends the values to the existing list (if any). Use
 setNtpServers(java.util.Collection) or withNtpServers(java.util.Collection) if you want to
 override the existing values.
 
ntpServers - NTP servers to use, in order of preference.public NtpPayload withNtpServers(Collection<String> ntpServers)
NTP servers to use, in order of preference.
ntpServers - NTP servers to use, in order of preference.public String toString()
toString in class ObjectObject.toString()public NtpPayload clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.