public static final class NtpServiceProperties.Builder
extends java.lang.Object
NtpServiceProperties
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NtpServiceProperties . |
Modifier and Type | Method and Description |
---|---|
NtpServiceProperties |
build() |
NtpServiceProperties.Builder |
setServers(java.util.List<java.lang.String> servers)
NTP servers
|
NtpServiceProperties.Builder |
setStartOnBoot(java.lang.Boolean startOnBoot)
Start NTP service when system boots
|
public Builder()
NtpServiceProperties
.public NtpServiceProperties.Builder setServers(java.util.List<java.lang.String> servers)
servers
- New value for the property.public NtpServiceProperties.Builder setStartOnBoot(java.lang.Boolean startOnBoot)
startOnBoot
- New value for the property.public NtpServiceProperties build()