Interface SelectMenuOptionBuilderDelegate



  • public interface SelectMenuOptionBuilderDelegate
    • Method Detail

      • copy

        void copy​(SelectMenuOption selectMenuOption)
        Copy the give select menu option.
        Parameters:
        selectMenuOption - The select menu option.
      • setLabel

        void setLabel​(String label)
        Set the label of the select menu.
        Parameters:
        label - The label.
      • setValue

        void setValue​(String value)
        Set the value of the select menu.
        Parameters:
        value - The value.
      • setDescription

        void setDescription​(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​(Emoji emoji)
        Set the emoji for the option.
        Parameters:
        emoji - The emoji.
      • build

        SelectMenuOption build​()
        Build the select menu option.
        Returns:
        The option.