@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableSourceConnectorExampleInput extends Object implements Plugin.SourceConnectorExampleInput
Plugin.SourceConnectorExampleInput.
Use the builder to create immutable instances:
ImmutableSourceConnectorExampleInput.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableSourceConnectorExampleInput.Builder
Builds instances of type
ImmutableSourceConnectorExampleInput. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableSourceConnectorExampleInput.Builder |
builder()
Creates a builder for
ImmutableSourceConnectorExampleInput. |
static ImmutableSourceConnectorExampleInput |
copyOf(Plugin.SourceConnectorExampleInput instance)
Creates an immutable copy of a
Plugin.SourceConnectorExampleInput value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableSourceConnectorExampleInput that have equal attribute values. |
String |
getConfig() |
Plugin.SourceConnectorExample |
getExample() |
String |
getOutputDescription() |
String |
getOutputJson() |
int |
hashCode()
Computes a hash code from attributes:
config, example, outputJson, outputDescription. |
String |
toString()
Prints the immutable value
SourceConnectorExampleInput with attribute values. |
ImmutableSourceConnectorExampleInput |
withConfig(String value)
Copy the current immutable object by setting a value for the
config attribute. |
ImmutableSourceConnectorExampleInput |
withExample(Plugin.SourceConnectorExample value)
Copy the current immutable object by setting a value for the
example attribute. |
ImmutableSourceConnectorExampleInput |
withOutputDescription(String value)
Copy the current immutable object by setting a value for the
outputDescription attribute. |
ImmutableSourceConnectorExampleInput |
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.SourceConnectorExample>config attributepublic Plugin.SourceConnectorExample getExample()
getExample in interface Plugin.ExampleInput<Plugin.SourceConnectorExample>example attribute@Nullable public String getOutputJson()
getOutputJson in interface Plugin.SourceConnectorExampleInputoutputJson attribute@Nullable public String getOutputDescription()
getOutputDescription in interface Plugin.SourceConnectorExampleInputoutputDescription attributepublic final ImmutableSourceConnectorExampleInput 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 ImmutableSourceConnectorExampleInput withExample(Plugin.SourceConnectorExample 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 ImmutableSourceConnectorExampleInput 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 ImmutableSourceConnectorExampleInput 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)
ImmutableSourceConnectorExampleInput that have equal attribute values.public int hashCode()
config, example, outputJson, outputDescription.public String toString()
SourceConnectorExampleInput with attribute values.public static ImmutableSourceConnectorExampleInput copyOf(Plugin.SourceConnectorExampleInput instance)
Plugin.SourceConnectorExampleInput 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 ImmutableSourceConnectorExampleInput.Builder builder()
ImmutableSourceConnectorExampleInput.
ImmutableSourceConnectorExampleInput.builder()
.config(String | null) // nullable config
.example(com.github.jcustenborder.kafka.connect.utils.templates.Plugin.SourceConnectorExample) // required example
.outputJson(String | null) // nullable outputJson
.outputDescription(String | null) // nullable outputDescription
.build();
Copyright © 2016–2025. All rights reserved.