@NotThreadSafe public static final class ImmutableSinkConnectorExampleInput.Builder extends Object
ImmutableSinkConnectorExampleInput.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
@CanIgnoreReturnValue public final ImmutableSinkConnectorExampleInput.Builder from(Plugin.SinkConnectorExampleInput instance)
SinkConnectorExampleInput instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSinkConnectorExampleInput.Builder config(@Nullable String config)
config attribute.config - The value for config (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSinkConnectorExampleInput.Builder example(Plugin.SinkConnectorExample example)
example attribute.example - The value for examplethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSinkConnectorExampleInput.Builder inputJson(@Nullable String inputJson)
inputJson attribute.inputJson - The value for inputJson (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSinkConnectorExampleInput.Builder inputDescription(@Nullable String inputDescription)
inputDescription attribute.inputDescription - The value for inputDescription (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSinkConnectorExampleInput.Builder outputJson(@Nullable String outputJson)
outputJson attribute.outputJson - The value for outputJson (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSinkConnectorExampleInput.Builder outputDescription(@Nullable String outputDescription)
outputDescription attribute.outputDescription - The value for outputDescription (can be null)this builder for use in a chained invocationpublic ImmutableSinkConnectorExampleInput build()
ImmutableSinkConnectorExampleInput.IllegalStateException - if any required attributes are missingCopyright © 2016–2025. All rights reserved.