@NotThreadSafe public static final class ImmutableSourceConnectorExampleInput.Builder extends Object
ImmutableSourceConnectorExampleInput.
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.
| Modifier and Type | Method and Description |
|---|---|
ImmutableSourceConnectorExampleInput |
build()
Builds a new
ImmutableSourceConnectorExampleInput. |
ImmutableSourceConnectorExampleInput.Builder |
config(String config)
Initializes the value for the
config attribute. |
ImmutableSourceConnectorExampleInput.Builder |
example(Plugin.SourceConnectorExample example)
Initializes the value for the
example attribute. |
ImmutableSourceConnectorExampleInput.Builder |
from(Plugin.SourceConnectorExampleInput instance)
Fill a builder with attribute values from the provided
SourceConnectorExampleInput instance. |
ImmutableSourceConnectorExampleInput.Builder |
outputDescription(String outputDescription)
Initializes the value for the
outputDescription attribute. |
ImmutableSourceConnectorExampleInput.Builder |
outputJson(String outputJson)
Initializes the value for the
outputJson attribute. |
@CanIgnoreReturnValue public final ImmutableSourceConnectorExampleInput.Builder from(Plugin.SourceConnectorExampleInput instance)
SourceConnectorExampleInput 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 ImmutableSourceConnectorExampleInput.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 ImmutableSourceConnectorExampleInput.Builder example(Plugin.SourceConnectorExample example)
example attribute.example - The value for examplethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSourceConnectorExampleInput.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 ImmutableSourceConnectorExampleInput.Builder outputDescription(@Nullable String outputDescription)
outputDescription attribute.outputDescription - The value for outputDescription (can be null)this builder for use in a chained invocationpublic ImmutableSourceConnectorExampleInput build()
ImmutableSourceConnectorExampleInput.IllegalStateException - if any required attributes are missingCopyright © 2016–2025. All rights reserved.