@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","DebugConfig"}) @Immutable public final class ImmutableDebugConfig extends DebugConfig
DebugConfig.
Use the builder to create immutable instances:
ImmutableDebugConfig.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableDebugConfig.Builder
Builds instances of type
ImmutableDebugConfig. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableDebugConfig.Builder |
builder()
Creates a builder for
ImmutableDebugConfig. |
static ImmutableDebugConfig |
copyOf(DebugConfig instance)
Creates an immutable copy of a
DebugConfig value. |
com.google.common.collect.ImmutableList<String> |
dnsRecursors() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableDebugConfig that have equal attribute values. |
String |
getAdvertiseAddrLAN() |
String |
getAdvertiseAddrWAN() |
String |
getBindAddr() |
boolean |
getBootstrap() |
String |
getCaFile() |
String |
getCertFile() |
com.google.common.collect.ImmutableList<String> |
getClientAddrs() |
String |
getDatacenter() |
String |
getDataDir() |
String |
getDnsDomain() |
boolean |
getEnableDebug() |
boolean |
getEnableSyslog() |
String |
getKeyFile() |
boolean |
getLeaveOnTerm() |
String |
getLogLevel() |
String |
getNodeName() |
String |
getPidFile() |
boolean |
getRejoinAfterLeave() |
boolean |
getSkipLeaveOnInt() |
Optional<String> |
getUiDir() |
boolean |
getVerifyIncoming() |
boolean |
getVerifyOutgoing() |
int |
hashCode()
Computes a hash code from attributes:
bootstrap, datacenter, dataDir, dnsRecursors, dnsDomain, logLevel, nodeName, clientAddrs, bindAddr, leaveOnTerm, skipLeaveOnInt, enableDebug, verifyIncoming, verifyOutgoing, caFile, certFile, keyFile, uiDir, pidFile, enableSyslog, rejoinAfterLeave, advertiseAddrLAN, advertiseAddrWAN. |
String |
toString()
Prints the immutable value
DebugConfig with attribute values. |
ImmutableDebugConfig |
withAdvertiseAddrLAN(String value)
Copy the current immutable object by setting a value for the
advertiseAddrLAN attribute. |
ImmutableDebugConfig |
withAdvertiseAddrWAN(String value)
Copy the current immutable object by setting a value for the
advertiseAddrWAN attribute. |
ImmutableDebugConfig |
withBindAddr(String value)
Copy the current immutable object by setting a value for the
bindAddr attribute. |
ImmutableDebugConfig |
withBootstrap(boolean value)
Copy the current immutable object by setting a value for the
bootstrap attribute. |
ImmutableDebugConfig |
withCaFile(String value)
Copy the current immutable object by setting a value for the
caFile attribute. |
ImmutableDebugConfig |
withCertFile(String value)
Copy the current immutable object by setting a value for the
certFile attribute. |
ImmutableDebugConfig |
withClientAddrs(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
clientAddrs. |
ImmutableDebugConfig |
withClientAddrs(String... elements)
Copy the current immutable object with elements that replace the content of
clientAddrs. |
ImmutableDebugConfig |
withDatacenter(String value)
Copy the current immutable object by setting a value for the
datacenter attribute. |
ImmutableDebugConfig |
withDataDir(String value)
Copy the current immutable object by setting a value for the
dataDir attribute. |
ImmutableDebugConfig |
withDnsDomain(String value)
Copy the current immutable object by setting a value for the
dnsDomain attribute. |
ImmutableDebugConfig |
withDnsRecursors(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
dnsRecursors. |
ImmutableDebugConfig |
withDnsRecursors(String... elements)
Copy the current immutable object with elements that replace the content of
dnsRecursors. |
ImmutableDebugConfig |
withEnableDebug(boolean value)
Copy the current immutable object by setting a value for the
enableDebug attribute. |
ImmutableDebugConfig |
withEnableSyslog(boolean value)
Copy the current immutable object by setting a value for the
enableSyslog attribute. |
ImmutableDebugConfig |
withKeyFile(String value)
Copy the current immutable object by setting a value for the
keyFile attribute. |
ImmutableDebugConfig |
withLeaveOnTerm(boolean value)
Copy the current immutable object by setting a value for the
leaveOnTerm attribute. |
ImmutableDebugConfig |
withLogLevel(String value)
Copy the current immutable object by setting a value for the
logLevel attribute. |
ImmutableDebugConfig |
withNodeName(String value)
Copy the current immutable object by setting a value for the
nodeName attribute. |
ImmutableDebugConfig |
withPidFile(String value)
Copy the current immutable object by setting a value for the
pidFile attribute. |
ImmutableDebugConfig |
withRejoinAfterLeave(boolean value)
Copy the current immutable object by setting a value for the
rejoinAfterLeave attribute. |
ImmutableDebugConfig |
withSkipLeaveOnInt(boolean value)
Copy the current immutable object by setting a value for the
skipLeaveOnInt attribute. |
ImmutableDebugConfig |
withUiDir(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
uiDir attribute. |
ImmutableDebugConfig |
withUiDir(String value)
Copy the current immutable object by setting a present value for the optional
uiDir attribute. |
ImmutableDebugConfig |
withVerifyIncoming(boolean value)
Copy the current immutable object by setting a value for the
verifyIncoming attribute. |
ImmutableDebugConfig |
withVerifyOutgoing(boolean value)
Copy the current immutable object by setting a value for the
verifyOutgoing attribute. |
public boolean getBootstrap()
getBootstrap in class DebugConfigbootstrap attributepublic String getDatacenter()
getDatacenter in class DebugConfigdatacenter attributepublic String getDataDir()
getDataDir in class DebugConfigdataDir attributepublic com.google.common.collect.ImmutableList<String> dnsRecursors()
dnsRecursors in class DebugConfigdnsRecursors attributepublic String getDnsDomain()
getDnsDomain in class DebugConfigdnsDomain attributepublic String getLogLevel()
getLogLevel in class DebugConfiglogLevel attributepublic String getNodeName()
getNodeName in class DebugConfignodeName attributepublic com.google.common.collect.ImmutableList<String> getClientAddrs()
getClientAddrs in class DebugConfigclientAddrs attributepublic String getBindAddr()
getBindAddr in class DebugConfigbindAddr attributepublic boolean getLeaveOnTerm()
getLeaveOnTerm in class DebugConfigleaveOnTerm attributepublic boolean getSkipLeaveOnInt()
getSkipLeaveOnInt in class DebugConfigskipLeaveOnInt attributepublic boolean getEnableDebug()
getEnableDebug in class DebugConfigenableDebug attributepublic boolean getVerifyIncoming()
getVerifyIncoming in class DebugConfigverifyIncoming attributepublic boolean getVerifyOutgoing()
getVerifyOutgoing in class DebugConfigverifyOutgoing attributepublic String getCaFile()
getCaFile in class DebugConfigcaFile attributepublic String getCertFile()
getCertFile in class DebugConfigcertFile attributepublic String getKeyFile()
getKeyFile in class DebugConfigkeyFile attributepublic Optional<String> getUiDir()
getUiDir in class DebugConfiguiDir attributepublic String getPidFile()
getPidFile in class DebugConfigpidFile attributepublic boolean getEnableSyslog()
getEnableSyslog in class DebugConfigenableSyslog attributepublic boolean getRejoinAfterLeave()
getRejoinAfterLeave in class DebugConfigrejoinAfterLeave attributepublic String getAdvertiseAddrLAN()
getAdvertiseAddrLAN in class DebugConfigadvertiseAddrLAN attributepublic String getAdvertiseAddrWAN()
getAdvertiseAddrWAN in class DebugConfigadvertiseAddrWAN attributepublic final ImmutableDebugConfig withBootstrap(boolean value)
bootstrap attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for bootstrapthis objectpublic final ImmutableDebugConfig withDatacenter(String value)
datacenter attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for datacenterthis objectpublic final ImmutableDebugConfig withDataDir(String value)
dataDir attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for dataDirthis objectpublic final ImmutableDebugConfig withDnsRecursors(String... elements)
dnsRecursors.elements - The elements to setthis objectpublic final ImmutableDebugConfig withDnsRecursors(Iterable<String> elements)
dnsRecursors.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of dnsRecursors elements to setthis objectpublic final ImmutableDebugConfig withDnsDomain(String value)
dnsDomain attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for dnsDomainthis objectpublic final ImmutableDebugConfig withLogLevel(String value)
logLevel attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for logLevelthis objectpublic final ImmutableDebugConfig withNodeName(String value)
nodeName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for nodeNamethis objectpublic final ImmutableDebugConfig withClientAddrs(String... elements)
clientAddrs.elements - The elements to setthis objectpublic final ImmutableDebugConfig withClientAddrs(Iterable<String> elements)
clientAddrs.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of clientAddrs elements to setthis objectpublic final ImmutableDebugConfig withBindAddr(String value)
bindAddr attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for bindAddrthis objectpublic final ImmutableDebugConfig withLeaveOnTerm(boolean value)
leaveOnTerm attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for leaveOnTermthis objectpublic final ImmutableDebugConfig withSkipLeaveOnInt(boolean value)
skipLeaveOnInt attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for skipLeaveOnIntthis objectpublic final ImmutableDebugConfig withEnableDebug(boolean value)
enableDebug attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for enableDebugthis objectpublic final ImmutableDebugConfig withVerifyIncoming(boolean value)
verifyIncoming attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for verifyIncomingthis objectpublic final ImmutableDebugConfig withVerifyOutgoing(boolean value)
verifyOutgoing attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for verifyOutgoingthis objectpublic final ImmutableDebugConfig withCaFile(String value)
caFile attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for caFilethis objectpublic final ImmutableDebugConfig withCertFile(String value)
certFile attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for certFilethis objectpublic final ImmutableDebugConfig withKeyFile(String value)
keyFile attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for keyFilethis objectpublic final ImmutableDebugConfig withUiDir(String value)
uiDir attribute.value - The value for uiDirthis objectpublic final ImmutableDebugConfig withUiDir(Optional<String> optional)
uiDir attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for uiDirthis objectpublic final ImmutableDebugConfig withPidFile(String value)
pidFile attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for pidFilethis objectpublic final ImmutableDebugConfig withEnableSyslog(boolean value)
enableSyslog attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for enableSyslogthis objectpublic final ImmutableDebugConfig withRejoinAfterLeave(boolean value)
rejoinAfterLeave attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for rejoinAfterLeavethis objectpublic final ImmutableDebugConfig withAdvertiseAddrLAN(String value)
advertiseAddrLAN attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for advertiseAddrLANthis objectpublic final ImmutableDebugConfig withAdvertiseAddrWAN(String value)
advertiseAddrWAN attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for advertiseAddrWANthis objectpublic boolean equals(@Nullable Object another)
ImmutableDebugConfig that have equal attribute values.public int hashCode()
bootstrap, datacenter, dataDir, dnsRecursors, dnsDomain, logLevel, nodeName, clientAddrs, bindAddr, leaveOnTerm, skipLeaveOnInt, enableDebug, verifyIncoming, verifyOutgoing, caFile, certFile, keyFile, uiDir, pidFile, enableSyslog, rejoinAfterLeave, advertiseAddrLAN, advertiseAddrWAN.public String toString()
DebugConfig with attribute values.public static ImmutableDebugConfig copyOf(DebugConfig instance)
DebugConfig value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableDebugConfig.Builder builder()
ImmutableDebugConfig.Copyright © 2018. All rights reserved.