@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableTransformationExample extends Object implements Plugin.TransformationExample
Plugin.TransformationExample.
Use the builder to create immutable instances:
ImmutableTransformationExample.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableTransformationExample.Builder
Builds instances of type
ImmutableTransformationExample. |
Notes.Section| Modifier and Type | Method and Description |
|---|---|
static ImmutableTransformationExample.Builder |
builder()
Creates a builder for
ImmutableTransformationExample. |
static ImmutableTransformationExample |
copyOf(Plugin.TransformationExample instance)
Creates an immutable copy of a
Plugin.TransformationExample value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableTransformationExample that have equal attribute values. |
String |
getChildClass() |
Map<String,String> |
getConfig() |
String |
getDanger() |
String |
getDescription() |
String |
getIcon() |
String |
getImportant() |
org.apache.kafka.connect.sink.SinkRecord |
getInput() |
String |
getIntroduction() |
String |
getName() |
String |
getNote() |
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, childClass, input. |
String |
toString()
Prints the immutable value
TransformationExample with attribute values. |
ImmutableTransformationExample |
withChildClass(String value)
Copy the current immutable object by setting a value for the
childClass attribute. |
ImmutableTransformationExample |
withConfig(Map<String,? extends String> entries)
Copy the current immutable object by replacing the
config map with the specified map. |
ImmutableTransformationExample |
withDanger(String value)
Copy the current immutable object by setting a value for the
danger attribute. |
ImmutableTransformationExample |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableTransformationExample |
withIcon(String value)
Copy the current immutable object by setting a value for the
icon attribute. |
ImmutableTransformationExample |
withImportant(String value)
Copy the current immutable object by setting a value for the
important attribute. |
ImmutableTransformationExample |
withInput(org.apache.kafka.connect.sink.SinkRecord value)
Copy the current immutable object by setting a value for the
input attribute. |
ImmutableTransformationExample |
withIntroduction(String value)
Copy the current immutable object by setting a value for the
introduction attribute. |
ImmutableTransformationExample |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableTransformationExample |
withNote(String value)
Copy the current immutable object by setting a value for the
note attribute. |
ImmutableTransformationExample |
withSections(Iterable<? extends Notes.Section> elements)
Copy the current immutable object with elements that replace the content of
sections. |
ImmutableTransformationExample |
withSections(Notes.Section... elements)
Copy the current immutable object with elements that replace the content of
sections. |
ImmutableTransformationExample |
withTip(String value)
Copy the current immutable object by setting a value for the
tip attribute. |
ImmutableTransformationExample |
withTitle(String value)
Copy the current immutable object by setting a value for the
title attribute. |
ImmutableTransformationExample |
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 attribute@Nullable public String getChildClass()
getChildClass in interface Plugin.TransformationExamplechildClass attribute@Nullable public org.apache.kafka.connect.sink.SinkRecord getInput()
getInput in interface Plugin.TransformationExampleinput attributepublic final ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample withSections(@Nullable Notes.Section... elements)
sections.elements - The elements to setthis objectpublic final ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample 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 ImmutableTransformationExample withChildClass(@Nullable String value)
childClass attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for childClass (can be null)this objectpublic final ImmutableTransformationExample withInput(@Nullable org.apache.kafka.connect.sink.SinkRecord value)
input attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for input (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableTransformationExample that have equal attribute values.public int hashCode()
warning, tip, important, danger, note, title, description, icon, introduction, sections, name, config, childClass, input.public String toString()
TransformationExample with attribute values.public static ImmutableTransformationExample copyOf(Plugin.TransformationExample instance)
Plugin.TransformationExample 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 ImmutableTransformationExample.Builder builder()
ImmutableTransformationExample.
ImmutableTransformationExample.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
.childClass(String | null) // nullable childClass
.input(org.apache.kafka.connect.sink.SinkRecord | null) // nullable input
.build();
Copyright © 2016–2025. All rights reserved.