@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ExternalMultiSelectMenuIF"}) @Immutable public final class ExternalMultiSelectMenu extends Object implements ExternalMultiSelectMenuIF
ExternalMultiSelectMenuIF.
Use the builder to create immutable instances:
ExternalMultiSelectMenu.builder().
Use the static factory method to create immutable instances:
ExternalMultiSelectMenu.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalMultiSelectMenu.Builder
Builds instances of type
ExternalMultiSelectMenu. |
TYPE| Modifier and Type | Method and Description |
|---|---|
static ExternalMultiSelectMenu.Builder |
builder()
Creates a builder for
ExternalMultiSelectMenu. |
static ExternalMultiSelectMenu |
copyOf(ExternalMultiSelectMenuIF instance)
Creates an immutable copy of a
ExternalMultiSelectMenuIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ExternalMultiSelectMenu that have equal attribute values. |
String |
getActionId() |
Optional<ConfirmationDialog> |
getConfirmationDialog() |
List<OptionOrOptionGroup> |
getInitialOptions() |
Optional<Integer> |
getMinQueryLength() |
Text |
getPlaceholder() |
String |
getType() |
int |
hashCode()
Computes a hash code from attributes:
type, placeholder, actionId, minQueryLength, initialOptions, confirmationDialog. |
static ExternalMultiSelectMenu |
of(Text placeholder,
String actionId)
Construct a new immutable
ExternalMultiSelectMenu instance. |
String |
toString()
Prints the immutable value
ExternalMultiSelectMenu with attribute values. |
ExternalMultiSelectMenu |
withActionId(String actionId)
Copy the current immutable object by setting a value for the
actionId attribute. |
ExternalMultiSelectMenu |
withConfirmationDialog(ConfirmationDialog value)
Copy the current immutable object by setting a present value for the optional
confirmationDialog attribute. |
ExternalMultiSelectMenu |
withConfirmationDialog(Optional<ConfirmationDialog> optional)
Copy the current immutable object by setting an optional value for the
confirmationDialog attribute. |
ExternalMultiSelectMenu |
withInitialOptions(Iterable<? extends OptionOrOptionGroup> elements)
Copy the current immutable object with elements that replace the content of
initialOptions. |
ExternalMultiSelectMenu |
withInitialOptions(OptionOrOptionGroup... elements)
Copy the current immutable object with elements that replace the content of
initialOptions. |
ExternalMultiSelectMenu |
withMinQueryLength(Integer value)
Copy the current immutable object by setting a present value for the optional
minQueryLength attribute. |
ExternalMultiSelectMenu |
withMinQueryLength(Optional<Integer> optional)
Copy the current immutable object by setting an optional value for the
minQueryLength attribute. |
ExternalMultiSelectMenu |
withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
public String getType()
getType in interface BlockElementgetType in interface ExternalMultiSelectMenuIFtype attributepublic Text getPlaceholder()
getPlaceholder in interface ExternalMultiSelectMenuIFplaceholder attributepublic String getActionId()
getActionId in interface ExternalMultiSelectMenuIFactionId attributepublic Optional<Integer> getMinQueryLength()
getMinQueryLength in interface ExternalMultiSelectMenuIFminQueryLength attributepublic List<OptionOrOptionGroup> getInitialOptions()
getInitialOptions in interface ExternalMultiSelectMenuIFinitialOptions attributepublic Optional<ConfirmationDialog> getConfirmationDialog()
getConfirmationDialog in interface ExternalMultiSelectMenuIFconfirmationDialog attributepublic final ExternalMultiSelectMenu withPlaceholder(Text placeholder)
placeholder attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.placeholder - A new value for placeholderthis objectpublic final ExternalMultiSelectMenu withActionId(String actionId)
actionId attribute.
An equals check used to prevent copying of the same value by returning this.actionId - A new value for actionIdthis objectpublic final ExternalMultiSelectMenu withMinQueryLength(@Nullable Integer value)
minQueryLength attribute.value - The value for minQueryLength, null is accepted as java.util.Optional.empty()this objectpublic final ExternalMultiSelectMenu withMinQueryLength(Optional<Integer> optional)
minQueryLength attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for minQueryLengththis objectpublic final ExternalMultiSelectMenu withInitialOptions(OptionOrOptionGroup... elements)
initialOptions.elements - The elements to setthis objectpublic final ExternalMultiSelectMenu withInitialOptions(Iterable<? extends OptionOrOptionGroup> elements)
initialOptions.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of initialOptions elements to setthis objectpublic final ExternalMultiSelectMenu withConfirmationDialog(@Nullable ConfirmationDialog value)
confirmationDialog attribute.value - The value for confirmationDialog, null is accepted as java.util.Optional.empty()this objectpublic final ExternalMultiSelectMenu withConfirmationDialog(Optional<ConfirmationDialog> optional)
confirmationDialog attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for confirmationDialogthis objectpublic boolean equals(@Nullable Object another)
ExternalMultiSelectMenu that have equal attribute values.public int hashCode()
type, placeholder, actionId, minQueryLength, initialOptions, confirmationDialog.public String toString()
ExternalMultiSelectMenu with attribute values.public static ExternalMultiSelectMenu of(Text placeholder, String actionId)
ExternalMultiSelectMenu instance.placeholder - The value for the placeholder attributeactionId - The value for the actionId attributepublic static ExternalMultiSelectMenu copyOf(ExternalMultiSelectMenuIF instance)
ExternalMultiSelectMenuIF 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 ExternalMultiSelectMenu.Builder builder()
ExternalMultiSelectMenu.Copyright © 2019. All rights reserved.