@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableConfigProviderExample extends Object implements Plugin.ConfigProviderExample
Plugin.ConfigProviderExample.
Use the builder to create immutable instances:
ImmutableConfigProviderExample.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableConfigProviderExample.Builder
Builds instances of type
ImmutableConfigProviderExample. |
Notes.Section| Modifier and Type | Method and Description |
|---|---|
static ImmutableConfigProviderExample.Builder |
builder()
Creates a builder for
ImmutableConfigProviderExample. |
static ImmutableConfigProviderExample |
copyOf(Plugin.ConfigProviderExample instance)
Creates an immutable copy of a
Plugin.ConfigProviderExample value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableConfigProviderExample that have equal attribute values. |
Map<String,String> |
getConfig() |
Map<String,String> |
getConnectorConfig() |
String |
getDanger() |
String |
getDescription() |
String |
getIcon() |
String |
getImportant() |
String |
getIntroduction() |
String |
getName() |
String |
getNote() |
String |
getPrefix() |
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, prefix, connectorConfig. |
String |
toString()
Prints the immutable value
ConfigProviderExample with attribute values. |
ImmutableConfigProviderExample |
withConfig(Map<String,? extends String> entries)
Copy the current immutable object by replacing the
config map with the specified map. |
ImmutableConfigProviderExample |
withConnectorConfig(Map<String,? extends String> entries)
Copy the current immutable object by replacing the
connectorConfig map with the specified map. |
ImmutableConfigProviderExample |
withDanger(String value)
Copy the current immutable object by setting a value for the
danger attribute. |
ImmutableConfigProviderExample |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableConfigProviderExample |
withIcon(String value)
Copy the current immutable object by setting a value for the
icon attribute. |
ImmutableConfigProviderExample |
withImportant(String value)
Copy the current immutable object by setting a value for the
important attribute. |
ImmutableConfigProviderExample |
withIntroduction(String value)
Copy the current immutable object by setting a value for the
introduction attribute. |
ImmutableConfigProviderExample |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableConfigProviderExample |
withNote(String value)
Copy the current immutable object by setting a value for the
note attribute. |
ImmutableConfigProviderExample |
withPrefix(String value)
Copy the current immutable object by setting a value for the
prefix attribute. |
ImmutableConfigProviderExample |
withSections(Iterable<? extends Notes.Section> elements)
Copy the current immutable object with elements that replace the content of
sections. |
ImmutableConfigProviderExample |
withSections(Notes.Section... elements)
Copy the current immutable object with elements that replace the content of
sections. |
ImmutableConfigProviderExample |
withTip(String value)
Copy the current immutable object by setting a value for the
tip attribute. |
ImmutableConfigProviderExample |
withTitle(String value)
Copy the current immutable object by setting a value for the
title attribute. |
ImmutableConfigProviderExample |
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 String getPrefix()
getPrefix in interface Plugin.ConfigProviderExampleprefix attributepublic Map<String,String> getConnectorConfig()
getConnectorConfig in interface Plugin.ConfigProviderExampleconnectorConfig attributepublic final ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample withSections(@Nullable Notes.Section... elements)
sections.elements - The elements to setthis objectpublic final ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample 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 ImmutableConfigProviderExample withPrefix(String value)
prefix attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for prefixthis objectpublic final ImmutableConfigProviderExample withConnectorConfig(Map<String,? extends String> entries)
connectorConfig 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 connectorConfig mapthis objectpublic boolean equals(@Nullable Object another)
ImmutableConfigProviderExample that have equal attribute values.public int hashCode()
warning, tip, important, danger, note, title, description, icon, introduction, sections, name, config, prefix, connectorConfig.public String toString()
ConfigProviderExample with attribute values.public static ImmutableConfigProviderExample copyOf(Plugin.ConfigProviderExample instance)
Plugin.ConfigProviderExample 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 ImmutableConfigProviderExample.Builder builder()
ImmutableConfigProviderExample.
ImmutableConfigProviderExample.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
.prefix(String) // required prefix
.putConnectorConfig|putAllConnectorConfig(String => String) // connectorConfig mappings
.build();
Copyright © 2016–2025. All rights reserved.