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