Class CustomChannelBaseEvent.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.CustomChannelBaseEvent.Builder
-
- All Implemented Interfaces:
CustomChannelBaseEvent._FinalStage,CustomChannelBaseEvent.ContactStage,CustomChannelBaseEvent.EventIdStage,CustomChannelBaseEvent.ExternalConversationIdStage
- Enclosing class:
- CustomChannelBaseEvent
public static final class CustomChannelBaseEvent.Builder extends java.lang.Object implements CustomChannelBaseEvent.EventIdStage, CustomChannelBaseEvent.ExternalConversationIdStage, CustomChannelBaseEvent.ContactStage, CustomChannelBaseEvent._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomChannelBaseEventbuild()CustomChannelBaseEvent._FinalStagecontact(CustomChannelContact contact)CustomChannelBaseEvent.ExternalConversationIdStageeventId(java.lang.String eventId)Unique identifier for the event.CustomChannelBaseEvent.ContactStageexternalConversationId(java.lang.String externalConversationId)Identifier for the conversation in your application.CustomChannelBaseEvent.Builderfrom(CustomChannelBaseEvent other)
-
-
-
Method Detail
-
from
public CustomChannelBaseEvent.Builder from(CustomChannelBaseEvent other)
- Specified by:
fromin interfaceCustomChannelBaseEvent.EventIdStage
-
eventId
public CustomChannelBaseEvent.ExternalConversationIdStage eventId(@NotNull java.lang.String eventId)
Unique identifier for the event.
Unique identifier for the event.
- Specified by:
eventIdin interfaceCustomChannelBaseEvent.EventIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalConversationId
public CustomChannelBaseEvent.ContactStage externalConversationId(@NotNull java.lang.String externalConversationId)
Identifier for the conversation in your application.
Identifier for the conversation in your application.
- Specified by:
externalConversationIdin interfaceCustomChannelBaseEvent.ExternalConversationIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contact
public CustomChannelBaseEvent._FinalStage contact(@NotNull CustomChannelContact contact)
- Specified by:
contactin interfaceCustomChannelBaseEvent.ContactStage
-
build
public CustomChannelBaseEvent build()
- Specified by:
buildin interfaceCustomChannelBaseEvent._FinalStage
-
-