Class GoodBot.Builder

  • Enclosing class:
    GoodBot

    public static class GoodBot.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public GoodBot.Builder key​(String key)
        The unique key for the bot.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • name

        public GoodBot.Builder name​(String name)
        The bot name.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • isEnabled

        public GoodBot.Builder isEnabled​(Boolean isEnabled)
        Enables or disables the bot.
        Parameters:
        isEnabled - the value to set
        Returns:
        this builder
      • description

        public GoodBot.Builder description​(String description)
        The description of the bot.
        Parameters:
        description - the value to set
        Returns:
        this builder