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