public class SetNtpInfoRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SetNtpInfoRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
SetNtpInfoRequest() |
SetNtpInfoRequest(java.lang.String[] servers,
Optional<java.lang.Boolean> broadcastclient) |
Modifier and Type | Method and Description |
---|---|
SetNtpInfoRequest.Builder |
asBuilder() |
static SetNtpInfoRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Boolean> |
getBroadcastclient()
Enables every node in the cluster as a broadcast client.
|
java.lang.String[] |
getServers()
List of NTP servers to add to each nodes NTP configuration.
|
int |
hashCode() |
void |
setBroadcastclient(Optional<java.lang.Boolean> broadcastclient) |
void |
setServers(java.lang.String[] servers) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.String[] getServers()
public void setServers(java.lang.String[] servers)
public Optional<java.lang.Boolean> getBroadcastclient()
public void setBroadcastclient(Optional<java.lang.Boolean> broadcastclient)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static SetNtpInfoRequest.Builder builder()
public final SetNtpInfoRequest.Builder asBuilder()