@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableSourceConnectorExample extends Object implements Plugin.SourceConnectorExample
Plugin.SourceConnectorExample.
Use the builder to create immutable instances:
ImmutableSourceConnectorExample.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableSourceConnectorExample.Builder
Builds instances of type
ImmutableSourceConnectorExample. |
Notes.Section| Modifier and Type | Method and Description |
|---|---|
static ImmutableSourceConnectorExample.Builder |
builder()
Creates a builder for
ImmutableSourceConnectorExample. |
static ImmutableSourceConnectorExample |
copyOf(Plugin.SourceConnectorExample instance)
Creates an immutable copy of a
Plugin.SourceConnectorExample value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableSourceConnectorExample that have equal attribute values. |
Map<String,String> |
getConfig() |
String |
getDanger() |
String |
getDescription() |
String |
getIcon() |
String |
getImportant() |
String |
getIntroduction() |
String |
getName() |
String |
getNote() |
org.apache.kafka.connect.source.SourceRecord |
getOutput() |
List<Notes.Section> |
getSections() |
String |
getTip() |
String |
getTitle() |
String |
getWarning() |
int |
hashCode()
Computes a hash code from attributes:
warning, tip, important, danger, note, title, description, icon, introduction, sections, name, config, transformations, output. |
String |
toString()
Prints the immutable value
SourceConnectorExample with attribute values. |
Map<String,Map<String,String>> |
transformations() |
ImmutableSourceConnectorExample |
withConfig(Map<String,? extends String> entries)
Copy the current immutable object by replacing the
config map with the specified map. |
ImmutableSourceConnectorExample |
withDanger(String value)
Copy the current immutable object by setting a value for the
danger attribute. |
ImmutableSourceConnectorExample |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableSourceConnectorExample |
withIcon(String value)
Copy the current immutable object by setting a value for the
icon attribute. |
ImmutableSourceConnectorExample |
withImportant(String value)
Copy the current immutable object by setting a value for the
important attribute. |
ImmutableSourceConnectorExample |
withIntroduction(String value)
Copy the current immutable object by setting a value for the
introduction attribute. |
ImmutableSourceConnectorExample |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableSourceConnectorExample |
withNote(String value)
Copy the current immutable object by setting a value for the
note attribute. |
ImmutableSourceConnectorExample |
withOutput(org.apache.kafka.connect.source.SourceRecord value)
Copy the current immutable object by setting a value for the
output attribute. |
ImmutableSourceConnectorExample |
withSections(Iterable<? extends Notes.Section> elements)
Copy the current immutable object with elements that replace the content of
sections. |
ImmutableSourceConnectorExample |
withSections(Notes.Section... elements)
Copy the current immutable object with elements that replace the content of
sections. |
ImmutableSourceConnectorExample |
withTip(String value)
Copy the current immutable object by setting a value for the
tip attribute. |
ImmutableSourceConnectorExample |
withTitle(String value)
Copy the current immutable object by setting a value for the
title attribute. |
ImmutableSourceConnectorExample |
withTransformations(Map<String,? extends Map<String,String>> entries)
Copy the current immutable object by replacing the
transformations map with the specified map. |
ImmutableSourceConnectorExample |
withWarning(String value)
Copy the current immutable object by setting a value for the
warning attribute. |
@Nullable public String getWarning()
getWarning in interface Noteswarning attribute@Nullable public String getImportant()
getImportant in interface Notesimportant attribute@Nullable public String getDescription()
getDescription in interface Notesdescription attribute@Nullable public String getIntroduction()
getIntroduction in interface Notesintroduction attribute@Nullable public List<Notes.Section> getSections()
getSections in interface Notessections attributepublic String getName()
getName in interface Plugin.Examplename attributepublic Map<String,String> getConfig()
getConfig in interface Plugin.Exampleconfig attributepublic Map<String,Map<String,String>> transformations()
transformations in interface Plugin.ConnectorExampletransformations attribute@Nullable public org.apache.kafka.connect.source.SourceRecord getOutput()
getOutput in interface Plugin.SourceConnectorExampleoutput attributepublic final ImmutableSourceConnectorExample withWarning(@Nullable String value)
warning attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for warning (can be null)this objectpublic final ImmutableSourceConnectorExample withTip(@Nullable String value)
tip attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for tip (can be null)this objectpublic final ImmutableSourceConnectorExample withImportant(@Nullable String value)
important attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for important (can be null)this objectpublic final ImmutableSourceConnectorExample withDanger(@Nullable String value)
danger attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for danger (can be null)this objectpublic final ImmutableSourceConnectorExample withNote(@Nullable String value)
note attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for note (can be null)this objectpublic final ImmutableSourceConnectorExample withTitle(@Nullable String value)
title attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for title (can be null)this objectpublic final ImmutableSourceConnectorExample withDescription(@Nullable String value)
description attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for description (can be null)this objectpublic final ImmutableSourceConnectorExample withIcon(@Nullable String value)
icon attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for icon (can be null)this objectpublic final ImmutableSourceConnectorExample withIntroduction(@Nullable String value)
introduction attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for introduction (can be null)this objectpublic final ImmutableSourceConnectorExample withSections(@Nullable Notes.Section... elements)
sections.elements - The elements to setthis objectpublic final ImmutableSourceConnectorExample withSections(@Nullable Iterable<? extends Notes.Section> elements)
sections.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of sections elements to setthis objectpublic final ImmutableSourceConnectorExample withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final ImmutableSourceConnectorExample withConfig(Map<String,? extends String> entries)
config map with the specified map.
Nulls are not permitted as keys or values.
A shallow reference equality check is used to prevent copying of the same value by returning this.entries - The entries to be added to the config mapthis objectpublic final ImmutableSourceConnectorExample withTransformations(Map<String,? extends Map<String,String>> entries)
transformations map with the specified map.
Nulls are not permitted as keys or values.
A shallow reference equality check is used to prevent copying of the same value by returning this.entries - The entries to be added to the transformations mapthis objectpublic final ImmutableSourceConnectorExample withOutput(@Nullable org.apache.kafka.connect.source.SourceRecord value)
output attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for output (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableSourceConnectorExample that have equal attribute values.public int hashCode()
warning, tip, important, danger, note, title, description, icon, introduction, sections, name, config, transformations, output.public String toString()
SourceConnectorExample with attribute values.public static ImmutableSourceConnectorExample copyOf(Plugin.SourceConnectorExample instance)
Plugin.SourceConnectorExample value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableSourceConnectorExample.Builder builder()
ImmutableSourceConnectorExample.
ImmutableSourceConnectorExample.builder()
.warning(String | null) // nullable warning
.tip(String | null) // nullable tip
.important(String | null) // nullable important
.danger(String | null) // nullable danger
.note(String | null) // nullable note
.title(String | null) // nullable title
.description(String | null) // nullable description
.icon(String | null) // nullable icon
.introduction(String | null) // nullable introduction
.sections(List<com.github.jcustenborder.kafka.connect.utils.templates.Notes.Section> | null) // nullable sections
.name(String) // required name
.putConfig|putAllConfig(String => String) // config mappings
.putTransformations|putAllTransformations(String => Map<String, String>) // transformations mappings
.output(org.apache.kafka.connect.source.SourceRecord | null) // nullable output
.build();
Copyright © 2016–2025. All rights reserved.