Interface SelectMenuOptionBuilderDelegate
-
public interface SelectMenuOptionBuilderDelegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SelectMenuOptionbuild()Build the select menu option.voidcopy(SelectMenuOption selectMenuOption)Copy the give select menu option.voidsetDefault(boolean isDefault)Set if the option is the default option.voidsetDescription(java.lang.String description)Set the description of the select menu.voidsetEmoji(java.lang.String unicode)Sets the emoji for the option.voidsetEmoji(Emoji emoji)Set the emoji for the option.voidsetLabel(java.lang.String label)Set the label of the select menu.voidsetValue(java.lang.String value)Set the value of the select menu.
-
-
-
Method Detail
-
copy
void copy(SelectMenuOption selectMenuOption)
Copy the give select menu option.- Parameters:
selectMenuOption- The select menu option.
-
setLabel
void setLabel(java.lang.String label)
Set the label of the select menu.- Parameters:
label- The label.
-
setValue
void setValue(java.lang.String value)
Set the value of the select menu.- Parameters:
value- The value.
-
setDescription
void setDescription(java.lang.String description)
Set the description of the select menu.- Parameters:
description- The description.
-
setDefault
void setDefault(boolean isDefault)
Set if the option is the default option.- Parameters:
isDefault- Is default.
-
setEmoji
void setEmoji(java.lang.String unicode)
Sets the emoji for the option.- Parameters:
unicode- The emoji as a unicode string.
-
setEmoji
void setEmoji(Emoji emoji)
Set the emoji for the option.- Parameters:
emoji- The emoji.
-
build
SelectMenuOption build()
Build the select menu option.- Returns:
- The option.
-
-