Package com.intercom.api.types
Class CheckboxOption.Builder
java.lang.Object
com.intercom.api.types.CheckboxOption.Builder
- All Implemented Interfaces:
CheckboxOption._FinalStage,CheckboxOption.IdStage,CheckboxOption.TextStage
- Enclosing class:
CheckboxOption
public static final class CheckboxOption.Builder
extends Object
implements CheckboxOption.IdStage, CheckboxOption.TextStage, CheckboxOption._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Styles the option and prevents the action.from(CheckboxOption other) A unique identifier for the option.The text shown next to the checkbox.
-
Method Details
-
from
- Specified by:
fromin interfaceCheckboxOption.IdStage
-
id
A unique identifier for the option.
- Specified by:
idin interfaceCheckboxOption.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
text
The text shown next to the checkbox.
- Specified by:
textin interfaceCheckboxOption.TextStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
disabled
Styles the option and prevents the action. Default is false.
- Specified by:
disabledin interfaceCheckboxOption._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
disabled
- Specified by:
disabledin interfaceCheckboxOption._FinalStage
-
build
- Specified by:
buildin interfaceCheckboxOption._FinalStage
-