@NotThreadSafe public static final class ImmutablePlugin.Builder extends Object
ImmutablePlugin.
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 ImmutablePlugin.Builder from(Notes instance)
com.github.jcustenborder.kafka.connect.utils.templates.Notes instance.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder from(Plugin instance)
com.github.jcustenborder.kafka.connect.utils.templates.Plugin instance.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder warning(@Nullable String warning)
warning attribute.warning - The value for warning (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder tip(@Nullable String tip)
tip attribute.tip - The value for tip (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder important(@Nullable String important)
important attribute.important - The value for important (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder danger(@Nullable String danger)
danger attribute.danger - The value for danger (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder note(@Nullable String note)
note attribute.note - The value for note (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder title(@Nullable String title)
title attribute.title - The value for title (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder description(@Nullable String description)
description attribute.description - The value for description (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder icon(@Nullable String icon)
icon attribute.icon - The value for icon (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addSections(Notes.Section element)
sections list.element - A sections elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addSections(Notes.Section... elements)
sections list.elements - An array of sections elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder sections(@Nullable Iterable<? extends Notes.Section> elements)
sections list.elements - An iterable of sections elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addAllSections(Iterable<? extends Notes.Section> elements)
sections list.elements - An iterable of sections elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder introduction(String introduction)
introduction attribute.introduction - The value for introductionthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder pluginName(String pluginName)
pluginName attribute.pluginName - The value for pluginNamethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder pluginOwner(String pluginOwner)
pluginOwner attribute.pluginOwner - The value for pluginOwnerthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addTransformations(Plugin.Transformation element)
transformations list.element - A transformations elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addTransformations(Plugin.Transformation... elements)
transformations list.elements - An array of transformations elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder transformations(Iterable<? extends Plugin.Transformation> elements)
transformations list.elements - An iterable of transformations elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addAllTransformations(Iterable<? extends Plugin.Transformation> elements)
transformations list.elements - An iterable of transformations elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addSinkConnectors(Plugin.SinkConnector element)
sinkConnectors list.element - A sinkConnectors elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addSinkConnectors(Plugin.SinkConnector... elements)
sinkConnectors list.elements - An array of sinkConnectors elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder sinkConnectors(Iterable<? extends Plugin.SinkConnector> elements)
sinkConnectors list.elements - An iterable of sinkConnectors elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addAllSinkConnectors(Iterable<? extends Plugin.SinkConnector> elements)
sinkConnectors list.elements - An iterable of sinkConnectors elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addSourceConnectors(Plugin.SourceConnector element)
sourceConnectors list.element - A sourceConnectors elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addSourceConnectors(Plugin.SourceConnector... elements)
sourceConnectors list.elements - An array of sourceConnectors elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder sourceConnectors(Iterable<? extends Plugin.SourceConnector> elements)
sourceConnectors list.elements - An iterable of sourceConnectors elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addAllSourceConnectors(Iterable<? extends Plugin.SourceConnector> elements)
sourceConnectors list.elements - An iterable of sourceConnectors elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addConverters(Plugin.Converter element)
converters list.element - A converters elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addConverters(Plugin.Converter... elements)
converters list.elements - An array of converters elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder converters(Iterable<? extends Plugin.Converter> elements)
converters list.elements - An iterable of converters elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addAllConverters(Iterable<? extends Plugin.Converter> elements)
converters list.elements - An iterable of converters elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addConfigProviders(Plugin.ConfigProvider element)
configProviders list.element - A configProviders elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addConfigProviders(Plugin.ConfigProvider... elements)
configProviders list.elements - An array of configProviders elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder configProviders(Iterable<? extends Plugin.ConfigProvider> elements)
configProviders list.elements - An iterable of configProviders elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutablePlugin.Builder addAllConfigProviders(Iterable<? extends Plugin.ConfigProvider> elements)
configProviders list.elements - An iterable of configProviders elementsthis builder for use in a chained invocationpublic ImmutablePlugin build()
ImmutablePlugin.IllegalStateException - if any required attributes are missingCopyright © 2016–2025. All rights reserved.