Class QuickReplyOption.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.QuickReplyOption.Builder
-
- All Implemented Interfaces:
QuickReplyOption._FinalStage,QuickReplyOption.TextStage,QuickReplyOption.UuidStage
- Enclosing class:
- QuickReplyOption
public static final class QuickReplyOption.Builder extends java.lang.Object implements QuickReplyOption.TextStage, QuickReplyOption.UuidStage, QuickReplyOption._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuickReplyOptionbuild()QuickReplyOption.Builderfrom(QuickReplyOption other)QuickReplyOption.UuidStagetext(java.lang.String text)The text to display in this quick reply option.QuickReplyOption._FinalStageuuid(java.lang.String uuid)A unique identifier for this quick reply option.
-
-
-
Method Detail
-
from
public QuickReplyOption.Builder from(QuickReplyOption other)
- Specified by:
fromin interfaceQuickReplyOption.TextStage
-
text
public QuickReplyOption.UuidStage text(@NotNull java.lang.String text)
The text to display in this quick reply option.
The text to display in this quick reply option.
- Specified by:
textin interfaceQuickReplyOption.TextStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
uuid
public QuickReplyOption._FinalStage uuid(@NotNull java.lang.String uuid)
A unique identifier for this quick reply option. This value will be available within the metadata of the comment conversation part that is created when a user clicks on this reply option.
A unique identifier for this quick reply option. This value will be available within the metadata of the comment conversation part that is created when a user clicks on this reply option.
- Specified by:
uuidin interfaceQuickReplyOption.UuidStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public QuickReplyOption build()
- Specified by:
buildin interfaceQuickReplyOption._FinalStage
-
-