@NotThreadSafe public static final class ImmutableConverterExampleInput.Builder extends Object
ImmutableConverterExampleInput.
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 ImmutableConverterExampleInput.Builder from(Plugin.ConverterExampleInput instance)
ConverterExampleInput 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 ImmutableConverterExampleInput.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 ImmutableConverterExampleInput.Builder example(Plugin.ConverterExample example)
example attribute.example - The value for examplethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableConverterExampleInput.Builder workerKeyConfig(String workerKeyConfig)
workerKeyConfig attribute.workerKeyConfig - The value for workerKeyConfigthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableConverterExampleInput.Builder workerValueConfig(String workerValueConfig)
workerValueConfig attribute.workerValueConfig - The value for workerValueConfigthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableConverterExampleInput.Builder connectorKeyConfig(String connectorKeyConfig)
connectorKeyConfig attribute.connectorKeyConfig - The value for connectorKeyConfigthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableConverterExampleInput.Builder connectorValueConfig(String connectorValueConfig)
connectorValueConfig attribute.connectorValueConfig - The value for connectorValueConfigthis builder for use in a chained invocationpublic ImmutableConverterExampleInput build()
ImmutableConverterExampleInput.IllegalStateException - if any required attributes are missingCopyright © 2016–2025. All rights reserved.