@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","Registration.RegCheck"}) @Immutable public final class ImmutableRegCheck extends Registration.RegCheck
Registration.RegCheck.
Use the builder to create immutable instances:
ImmutableRegCheck.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRegCheck.Builder
Builds instances of type
ImmutableRegCheck. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRegCheck.Builder |
builder()
Creates a builder for
ImmutableRegCheck. |
static ImmutableRegCheck |
copyOf(Registration.RegCheck instance)
Creates an immutable copy of a
Registration.RegCheck value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRegCheck that have equal attribute values. |
Optional<String> |
getDeregisterCriticalServiceAfter() |
Optional<String> |
getHttp() |
Optional<String> |
getInterval() |
Optional<String> |
getNotes() |
Optional<String> |
getScript() |
Optional<String> |
getStatus() |
Optional<String> |
getTcp() |
Optional<String> |
getTimeout() |
Optional<Boolean> |
getTlsSkipVerify() |
Optional<String> |
getTtl() |
int |
hashCode()
Computes a hash code from attributes:
script, interval, ttl, http, tcp, timeout, notes, deregisterCriticalServiceAfter, tlsSkipVerify, status. |
String |
toString()
Prints the immutable value
RegCheck with attribute values. |
ImmutableRegCheck |
withDeregisterCriticalServiceAfter(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
deregisterCriticalServiceAfter attribute. |
ImmutableRegCheck |
withDeregisterCriticalServiceAfter(String value)
Copy the current immutable object by setting a present value for the optional
deregisterCriticalServiceAfter attribute. |
ImmutableRegCheck |
withHttp(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
http attribute. |
ImmutableRegCheck |
withHttp(String value)
Copy the current immutable object by setting a present value for the optional
http attribute. |
ImmutableRegCheck |
withInterval(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
interval attribute. |
ImmutableRegCheck |
withInterval(String value)
Copy the current immutable object by setting a present value for the optional
interval attribute. |
ImmutableRegCheck |
withNotes(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
notes attribute. |
ImmutableRegCheck |
withNotes(String value)
Copy the current immutable object by setting a present value for the optional
notes attribute. |
ImmutableRegCheck |
withScript(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
script attribute. |
ImmutableRegCheck |
withScript(String value)
Copy the current immutable object by setting a present value for the optional
script attribute. |
ImmutableRegCheck |
withStatus(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
status attribute. |
ImmutableRegCheck |
withStatus(String value)
Copy the current immutable object by setting a present value for the optional
status attribute. |
ImmutableRegCheck |
withTcp(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
tcp attribute. |
ImmutableRegCheck |
withTcp(String value)
Copy the current immutable object by setting a present value for the optional
tcp attribute. |
ImmutableRegCheck |
withTimeout(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
timeout attribute. |
ImmutableRegCheck |
withTimeout(String value)
Copy the current immutable object by setting a present value for the optional
timeout attribute. |
ImmutableRegCheck |
withTlsSkipVerify(boolean value)
Copy the current immutable object by setting a present value for the optional
tlsSkipVerify attribute. |
ImmutableRegCheck |
withTlsSkipVerify(Optional<Boolean> optional)
Copy the current immutable object by setting an optional value for the
tlsSkipVerify attribute. |
ImmutableRegCheck |
withTtl(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
ttl attribute. |
ImmutableRegCheck |
withTtl(String value)
Copy the current immutable object by setting a present value for the optional
ttl attribute. |
public Optional<String> getScript()
getScript in class Registration.RegCheckscript attributepublic Optional<String> getInterval()
getInterval in class Registration.RegCheckinterval attributepublic Optional<String> getTtl()
getTtl in class Registration.RegCheckttl attributepublic Optional<String> getHttp()
getHttp in class Registration.RegCheckhttp attributepublic Optional<String> getTcp()
getTcp in class Registration.RegChecktcp attributepublic Optional<String> getTimeout()
getTimeout in class Registration.RegChecktimeout attributepublic Optional<String> getNotes()
getNotes in class Registration.RegChecknotes attributepublic Optional<String> getDeregisterCriticalServiceAfter()
getDeregisterCriticalServiceAfter in class Registration.RegCheckderegisterCriticalServiceAfter attributepublic Optional<Boolean> getTlsSkipVerify()
getTlsSkipVerify in class Registration.RegChecktlsSkipVerify attributepublic Optional<String> getStatus()
getStatus in class Registration.RegCheckstatus attributepublic final ImmutableRegCheck withScript(String value)
script attribute.value - The value for scriptthis objectpublic final ImmutableRegCheck withScript(Optional<String> optional)
script attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for scriptthis objectpublic final ImmutableRegCheck withInterval(String value)
interval attribute.value - The value for intervalthis objectpublic final ImmutableRegCheck withInterval(Optional<String> optional)
interval attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for intervalthis objectpublic final ImmutableRegCheck withTtl(String value)
ttl attribute.value - The value for ttlthis objectpublic final ImmutableRegCheck withTtl(Optional<String> optional)
ttl attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for ttlthis objectpublic final ImmutableRegCheck withHttp(String value)
http attribute.value - The value for httpthis objectpublic final ImmutableRegCheck withHttp(Optional<String> optional)
http attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for httpthis objectpublic final ImmutableRegCheck withTcp(String value)
tcp attribute.value - The value for tcpthis objectpublic final ImmutableRegCheck withTcp(Optional<String> optional)
tcp attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for tcpthis objectpublic final ImmutableRegCheck withTimeout(String value)
timeout attribute.value - The value for timeoutthis objectpublic final ImmutableRegCheck withTimeout(Optional<String> optional)
timeout attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for timeoutthis objectpublic final ImmutableRegCheck withNotes(String value)
notes attribute.value - The value for notesthis objectpublic final ImmutableRegCheck withNotes(Optional<String> optional)
notes attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for notesthis objectpublic final ImmutableRegCheck withDeregisterCriticalServiceAfter(String value)
deregisterCriticalServiceAfter attribute.value - The value for deregisterCriticalServiceAfterthis objectpublic final ImmutableRegCheck withDeregisterCriticalServiceAfter(Optional<String> optional)
deregisterCriticalServiceAfter attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for deregisterCriticalServiceAfterthis objectpublic final ImmutableRegCheck withTlsSkipVerify(boolean value)
tlsSkipVerify attribute.value - The value for tlsSkipVerifythis objectpublic final ImmutableRegCheck withTlsSkipVerify(Optional<Boolean> optional)
tlsSkipVerify attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for tlsSkipVerifythis objectpublic final ImmutableRegCheck withStatus(String value)
status attribute.value - The value for statusthis objectpublic final ImmutableRegCheck withStatus(Optional<String> optional)
status attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for statusthis objectpublic boolean equals(@Nullable Object another)
ImmutableRegCheck that have equal attribute values.public int hashCode()
script, interval, ttl, http, tcp, timeout, notes, deregisterCriticalServiceAfter, tlsSkipVerify, status.public String toString()
RegCheck with attribute values.public static ImmutableRegCheck copyOf(Registration.RegCheck instance)
Registration.RegCheck 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 ImmutableRegCheck.Builder builder()
ImmutableRegCheck.Copyright © 2018. All rights reserved.