Package com.intercom.api.types
Class SingleSelectOption.Builder
java.lang.Object
com.intercom.api.types.SingleSelectOption.Builder
- All Implemented Interfaces:
SingleSelectOption._FinalStage,SingleSelectOption.IdStage,SingleSelectOption.TextStage
- Enclosing class:
SingleSelectOption
public static final class SingleSelectOption.Builder
extends Object
implements SingleSelectOption.IdStage, SingleSelectOption.TextStage, SingleSelectOption._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Styles the option and prevents the action.from(SingleSelectOption other) A unique identifier for the option.The text shown within this option.
-
Method Details
-
from
- Specified by:
fromin interfaceSingleSelectOption.IdStage
-
id
A unique identifier for the option.
- Specified by:
idin interfaceSingleSelectOption.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
text
The text shown within this option.
- Specified by:
textin interfaceSingleSelectOption.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 interfaceSingleSelectOption._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
disabled
- Specified by:
disabledin interfaceSingleSelectOption._FinalStage
-
build
- Specified by:
buildin interfaceSingleSelectOption._FinalStage
-