Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GoodBot |
build() |
GoodBot.Builder |
copy(GoodBot model) |
GoodBot.Builder |
description(String description)
The description of the bot.
|
GoodBot.Builder |
isEnabled(Boolean isEnabled)
Enables or disables the bot.
|
GoodBot.Builder |
key(String key)
The unique key for the bot.
|
GoodBot.Builder |
name(String name)
The bot name.
|
public GoodBot.Builder key(String key)
The unique key for the bot.
key
- the value to setpublic GoodBot.Builder name(String name)
The bot name.
name
- the value to setpublic GoodBot.Builder isEnabled(Boolean isEnabled)
Enables or disables the bot.
isEnabled
- the value to setpublic GoodBot.Builder description(String description)
The description of the bot.
description
- the value to setpublic GoodBot build()
public GoodBot.Builder copy(GoodBot model)
Copyright © 2016–2024. All rights reserved.