Interface SlashCommandOptionChoiceBuilderDelegate



  • public interface SlashCommandOptionChoiceBuilderDelegate
    This class is internally used by the SlashCommandOptionChoiceBuilder. You usually don't want to interact with this object.
    • Method Detail

      • setName

        void setName​(String name)
        Sets the name of the slash command option choice.
        Parameters:
        name - The name.
      • setValue

        void setValue​(String value)
        Sets the string value of the slash command option choice.
        Parameters:
        value - The value.
      • setValue

        void setValue​(int value)
        Sets the int value of the slash command option choice.
        Parameters:
        value - The value.
      • build

        SlashCommandOptionChoice build​()
        Builds the slash command option choice.
        Returns:
        The slash command option choice.