Interface SelectMenuOptionBuilderDelegate


  • public interface SelectMenuOptionBuilderDelegate
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      SelectMenuOption build()
      Build the select menu option.
      void copy​(SelectMenuOption selectMenuOption)
      Copy the give select menu option.
      void setDefault​(boolean isDefault)
      Set if the option is the default option.
      void setDescription​(java.lang.String description)
      Set the description of the select menu.
      void setEmoji​(java.lang.String unicode)
      Sets the emoji for the option.
      void setEmoji​(Emoji emoji)
      Set the emoji for the option.
      void setLabel​(java.lang.String label)
      Set the label of the select menu.
      void setValue​(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.