@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableSinkConnectorExampleInput extends Object implements Plugin.SinkConnectorExampleInput
Plugin.SinkConnectorExampleInput.
Use the builder to create immutable instances:
ImmutableSinkConnectorExampleInput.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableSinkConnectorExampleInput.Builder
Builds instances of type
ImmutableSinkConnectorExampleInput. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableSinkConnectorExampleInput.Builder |
builder()
Creates a builder for
ImmutableSinkConnectorExampleInput. |
static ImmutableSinkConnectorExampleInput |
copyOf(Plugin.SinkConnectorExampleInput instance)
Creates an immutable copy of a
Plugin.SinkConnectorExampleInput value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableSinkConnectorExampleInput that have equal attribute values. |
String |
getConfig() |
Plugin.SinkConnectorExample |
getExample() |
String |
getInputDescription() |
String |
getInputJson() |
String |
getOutputDescription() |
String |
getOutputJson() |
int |
hashCode()
Computes a hash code from attributes:
config, example, inputJson, inputDescription, outputJson, outputDescription. |
String |
toString()
Prints the immutable value
SinkConnectorExampleInput with attribute values. |
ImmutableSinkConnectorExampleInput |
withConfig(String value)
Copy the current immutable object by setting a value for the
config attribute. |
ImmutableSinkConnectorExampleInput |
withExample(Plugin.SinkConnectorExample value)
Copy the current immutable object by setting a value for the
example attribute. |
ImmutableSinkConnectorExampleInput |
withInputDescription(String value)
Copy the current immutable object by setting a value for the
inputDescription attribute. |
ImmutableSinkConnectorExampleInput |
withInputJson(String value)
Copy the current immutable object by setting a value for the
inputJson attribute. |
ImmutableSinkConnectorExampleInput |
withOutputDescription(String value)
Copy the current immutable object by setting a value for the
outputDescription attribute. |
ImmutableSinkConnectorExampleInput |
withOutputJson(String value)
Copy the current immutable object by setting a value for the
outputJson attribute. |
@Nullable public String getConfig()
getConfig in interface Plugin.ExampleInput<Plugin.SinkConnectorExample>config attributepublic Plugin.SinkConnectorExample getExample()
getExample in interface Plugin.ExampleInput<Plugin.SinkConnectorExample>example attribute@Nullable public String getInputJson()
getInputJson in interface Plugin.SinkConnectorExampleInputinputJson attribute@Nullable public String getInputDescription()
getInputDescription in interface Plugin.SinkConnectorExampleInputinputDescription attribute@Nullable public String getOutputJson()
getOutputJson in interface Plugin.SinkConnectorExampleInputoutputJson attribute@Nullable public String getOutputDescription()
getOutputDescription in interface Plugin.SinkConnectorExampleInputoutputDescription attributepublic final ImmutableSinkConnectorExampleInput 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 ImmutableSinkConnectorExampleInput withExample(Plugin.SinkConnectorExample 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 ImmutableSinkConnectorExampleInput withInputJson(@Nullable String value)
inputJson attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for inputJson (can be null)this objectpublic final ImmutableSinkConnectorExampleInput withInputDescription(@Nullable String value)
inputDescription attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for inputDescription (can be null)this objectpublic final ImmutableSinkConnectorExampleInput withOutputJson(@Nullable String value)
outputJson attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for outputJson (can be null)this objectpublic final ImmutableSinkConnectorExampleInput withOutputDescription(@Nullable String value)
outputDescription attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for outputDescription (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableSinkConnectorExampleInput that have equal attribute values.public int hashCode()
config, example, inputJson, inputDescription, outputJson, outputDescription.public String toString()
SinkConnectorExampleInput with attribute values.public static ImmutableSinkConnectorExampleInput copyOf(Plugin.SinkConnectorExampleInput instance)
Plugin.SinkConnectorExampleInput 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 ImmutableSinkConnectorExampleInput.Builder builder()
ImmutableSinkConnectorExampleInput.
ImmutableSinkConnectorExampleInput.builder()
.config(String | null) // nullable config
.example(com.github.jcustenborder.kafka.connect.utils.templates.Plugin.SinkConnectorExample) // required example
.inputJson(String | null) // nullable inputJson
.inputDescription(String | null) // nullable inputDescription
.outputJson(String | null) // nullable outputJson
.outputDescription(String | null) // nullable outputDescription
.build();
Copyright © 2016–2025. All rights reserved.