return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
/** * This instance is equal to all instances of {@code ImmutableDebugConfig} that have equal attribute values. * @return {@code true} if {@code this} is equal to {@code another} instance */ @Override public boolean equals(@Nullable Object another) { if (this == another) return true; return another instanceof ImmutableDebugConfig && equalTo((ImmutableDebugConfig) another); }
/** * Creates an immutable copy of a {@link DebugConfig} value. * Uses accessors to get values to initialize the new immutable instance. * If an instance is already immutable, it is returned as is. * @param instance The instance to copy * @return A copied immutable DebugConfig instance */ public static ImmutableDebugConfig copyOf(DebugConfig instance) { if (instance instanceof ImmutableDebugConfig) { return (ImmutableDebugConfig) instance; } return ImmutableDebugConfig.builder() .from(instance) .build(); }
@JsonCreator static ImmutableDebugConfig fromJson(Json json) { ImmutableDebugConfig.Builder builder = ImmutableDebugConfig.builder(); if (json.bootstrap != null) { builder.bootstrap(json.bootstrap);
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( value, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
if (this.dnsRecursors == elements) return this; ImmutableList<String> newValue = ImmutableList.copyOf(elements); return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
if (this.clientAddrs == elements) return this; ImmutableList<String> newValue = ImmutableList.copyOf(elements); return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, this.datacenter,
return new ImmutableDebugConfig( this.bootstrap, Preconditions.checkNotNull(value, "datacenter"),