@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableConverterExampleInput extends Object implements Plugin.ConverterExampleInput
Plugin.ConverterExampleInput.
Use the builder to create immutable instances:
ImmutableConverterExampleInput.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableConverterExampleInput.Builder
Builds instances of type
ImmutableConverterExampleInput. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableConverterExampleInput.Builder |
builder()
Creates a builder for
ImmutableConverterExampleInput. |
static ImmutableConverterExampleInput |
copyOf(Plugin.ConverterExampleInput instance)
Creates an immutable copy of a
Plugin.ConverterExampleInput value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableConverterExampleInput that have equal attribute values. |
String |
getConfig() |
String |
getConnectorKeyConfig() |
String |
getConnectorValueConfig() |
Plugin.ConverterExample |
getExample() |
String |
getWorkerKeyConfig() |
String |
getWorkerValueConfig() |
int |
hashCode()
Computes a hash code from attributes:
config, example, workerKeyConfig, workerValueConfig, connectorKeyConfig, connectorValueConfig. |
String |
toString()
Prints the immutable value
ConverterExampleInput with attribute values. |
ImmutableConverterExampleInput |
withConfig(String value)
Copy the current immutable object by setting a value for the
config attribute. |
ImmutableConverterExampleInput |
withConnectorKeyConfig(String value)
Copy the current immutable object by setting a value for the
connectorKeyConfig attribute. |
ImmutableConverterExampleInput |
withConnectorValueConfig(String value)
Copy the current immutable object by setting a value for the
connectorValueConfig attribute. |
ImmutableConverterExampleInput |
withExample(Plugin.ConverterExample value)
Copy the current immutable object by setting a value for the
example attribute. |
ImmutableConverterExampleInput |
withWorkerKeyConfig(String value)
Copy the current immutable object by setting a value for the
workerKeyConfig attribute. |
ImmutableConverterExampleInput |
withWorkerValueConfig(String value)
Copy the current immutable object by setting a value for the
workerValueConfig attribute. |
@Nullable public String getConfig()
getConfig in interface Plugin.ExampleInput<Plugin.ConverterExample>config attributepublic Plugin.ConverterExample getExample()
getExample in interface Plugin.ExampleInput<Plugin.ConverterExample>example attributepublic String getWorkerKeyConfig()
getWorkerKeyConfig in interface Plugin.ConverterExampleInputworkerKeyConfig attributepublic String getWorkerValueConfig()
getWorkerValueConfig in interface Plugin.ConverterExampleInputworkerValueConfig attributepublic String getConnectorKeyConfig()
getConnectorKeyConfig in interface Plugin.ConverterExampleInputconnectorKeyConfig attributepublic String getConnectorValueConfig()
getConnectorValueConfig in interface Plugin.ConverterExampleInputconnectorValueConfig attributepublic final ImmutableConverterExampleInput withConfig(@Nullable String value)
config attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for config (can be null)this objectpublic final ImmutableConverterExampleInput withExample(Plugin.ConverterExample value)
example attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for examplethis objectpublic final ImmutableConverterExampleInput withWorkerKeyConfig(String value)
workerKeyConfig attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for workerKeyConfigthis objectpublic final ImmutableConverterExampleInput withWorkerValueConfig(String value)
workerValueConfig attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for workerValueConfigthis objectpublic final ImmutableConverterExampleInput withConnectorKeyConfig(String value)
connectorKeyConfig attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for connectorKeyConfigthis objectpublic final ImmutableConverterExampleInput withConnectorValueConfig(String value)
connectorValueConfig attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for connectorValueConfigthis objectpublic boolean equals(@Nullable Object another)
ImmutableConverterExampleInput that have equal attribute values.public int hashCode()
config, example, workerKeyConfig, workerValueConfig, connectorKeyConfig, connectorValueConfig.public String toString()
ConverterExampleInput with attribute values.public static ImmutableConverterExampleInput copyOf(Plugin.ConverterExampleInput instance)
Plugin.ConverterExampleInput 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 ImmutableConverterExampleInput.Builder builder()
ImmutableConverterExampleInput.
ImmutableConverterExampleInput.builder()
.config(String | null) // nullable config
.example(com.github.jcustenborder.kafka.connect.utils.templates.Plugin.ConverterExample) // required example
.workerKeyConfig(String) // required workerKeyConfig
.workerValueConfig(String) // required workerValueConfig
.connectorKeyConfig(String) // required connectorKeyConfig
.connectorValueConfig(String) // required connectorValueConfig
.build();
Copyright © 2016–2025. All rights reserved.