@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","UsersMultiSelectMenuIF"}) @Immutable public final class UsersMultiSelectMenu extends Object implements UsersMultiSelectMenuIF
UsersMultiSelectMenuIF.
Use the builder to create immutable instances:
UsersMultiSelectMenu.builder().
Use the static factory method to create immutable instances:
UsersMultiSelectMenu.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
UsersMultiSelectMenu.Builder
Builds instances of type
UsersMultiSelectMenu. |
TYPE| Modifier and Type | Method and Description |
|---|---|
static UsersMultiSelectMenu.Builder |
builder()
Creates a builder for
UsersMultiSelectMenu. |
static UsersMultiSelectMenu |
copyOf(UsersMultiSelectMenuIF instance)
Creates an immutable copy of a
UsersMultiSelectMenuIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
UsersMultiSelectMenu that have equal attribute values. |
String |
getActionId() |
Optional<ConfirmationDialog> |
getConfirmationDialog() |
List<String> |
getInitialUserIds() |
Text |
getPlaceholder() |
String |
getType() |
int |
hashCode()
Computes a hash code from attributes:
type, placeholder, actionId, initialUserIds, confirmationDialog. |
static UsersMultiSelectMenu |
of(Text placeholder,
String actionId)
Construct a new immutable
UsersMultiSelectMenu instance. |
String |
toString()
Prints the immutable value
UsersMultiSelectMenu with attribute values. |
UsersMultiSelectMenu |
withActionId(String actionId)
Copy the current immutable object by setting a value for the
actionId attribute. |
UsersMultiSelectMenu |
withConfirmationDialog(ConfirmationDialog value)
Copy the current immutable object by setting a present value for the optional
confirmationDialog attribute. |
UsersMultiSelectMenu |
withConfirmationDialog(Optional<ConfirmationDialog> optional)
Copy the current immutable object by setting an optional value for the
confirmationDialog attribute. |
UsersMultiSelectMenu |
withInitialUserIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
initialUserIds. |
UsersMultiSelectMenu |
withInitialUserIds(String... elements)
Copy the current immutable object with elements that replace the content of
initialUserIds. |
UsersMultiSelectMenu |
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 UsersMultiSelectMenuIFtype attributepublic Text getPlaceholder()
getPlaceholder in interface UsersMultiSelectMenuIFplaceholder attributepublic String getActionId()
getActionId in interface UsersMultiSelectMenuIFactionId attributepublic List<String> getInitialUserIds()
getInitialUserIds in interface UsersMultiSelectMenuIFinitialUserIds attributepublic Optional<ConfirmationDialog> getConfirmationDialog()
getConfirmationDialog in interface UsersMultiSelectMenuIFconfirmationDialog attributepublic final UsersMultiSelectMenu 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 UsersMultiSelectMenu 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 UsersMultiSelectMenu withInitialUserIds(String... elements)
initialUserIds.elements - The elements to setthis objectpublic final UsersMultiSelectMenu withInitialUserIds(Iterable<String> elements)
initialUserIds.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of initialUserIds elements to setthis objectpublic final UsersMultiSelectMenu withConfirmationDialog(@Nullable ConfirmationDialog value)
confirmationDialog attribute.value - The value for confirmationDialog, null is accepted as java.util.Optional.empty()this objectpublic final UsersMultiSelectMenu 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)
UsersMultiSelectMenu that have equal attribute values.public int hashCode()
type, placeholder, actionId, initialUserIds, confirmationDialog.public String toString()
UsersMultiSelectMenu with attribute values.public static UsersMultiSelectMenu of(Text placeholder, String actionId)
UsersMultiSelectMenu instance.placeholder - The value for the placeholder attributeactionId - The value for the actionId attributepublic static UsersMultiSelectMenu copyOf(UsersMultiSelectMenuIF instance)
UsersMultiSelectMenuIF 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 UsersMultiSelectMenu.Builder builder()
UsersMultiSelectMenu.Copyright © 2019. All rights reserved.