@NotThreadSafe public static final class ImmutableConfigProviderExampleInput.Builder extends Object
ImmutableConfigProviderExampleInput.
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 |
|---|---|
ImmutableConfigProviderExampleInput |
build()
Builds a new
ImmutableConfigProviderExampleInput. |
ImmutableConfigProviderExampleInput.Builder |
config(String config)
Initializes the value for the
config attribute. |
ImmutableConfigProviderExampleInput.Builder |
connectorConfig(String connectorConfig)
Initializes the value for the
connectorConfig attribute. |
ImmutableConfigProviderExampleInput.Builder |
example(Plugin.ConfigProviderExample example)
Initializes the value for the
example attribute. |
ImmutableConfigProviderExampleInput.Builder |
from(Plugin.ConfigProviderExampleInput instance)
Fill a builder with attribute values from the provided
ConfigProviderExampleInput instance. |
@CanIgnoreReturnValue public final ImmutableConfigProviderExampleInput.Builder from(Plugin.ConfigProviderExampleInput instance)
ConfigProviderExampleInput 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 ImmutableConfigProviderExampleInput.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 ImmutableConfigProviderExampleInput.Builder example(Plugin.ConfigProviderExample example)
example attribute.example - The value for examplethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableConfigProviderExampleInput.Builder connectorConfig(String connectorConfig)
connectorConfig attribute.connectorConfig - The value for connectorConfigthis builder for use in a chained invocationpublic ImmutableConfigProviderExampleInput build()
ImmutableConfigProviderExampleInput.IllegalStateException - if any required attributes are missingCopyright © 2016–2025. All rights reserved.