Class AttachContactToConversationRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.conversations.requests.AttachContactToConversationRequest.Builder
-
- All Implemented Interfaces:
AttachContactToConversationRequest._FinalStage,AttachContactToConversationRequest.IdStage
- Enclosing class:
- AttachContactToConversationRequest
public static final class AttachContactToConversationRequest.Builder extends java.lang.Object implements AttachContactToConversationRequest.IdStage, AttachContactToConversationRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachContactToConversationRequest._FinalStageadminId(java.lang.String adminId)Theidof the admin who is adding the new participant.AttachContactToConversationRequest._FinalStageadminId(java.util.Optional<java.lang.String> adminId)Theidof the admin who is adding the new participant.AttachContactToConversationRequestbuild()AttachContactToConversationRequest._FinalStagecustomer(AttachContactToConversationRequest.Customer customer)AttachContactToConversationRequest._FinalStagecustomer(java.util.Optional<AttachContactToConversationRequest.Customer> customer)AttachContactToConversationRequest.Builderfrom(AttachContactToConversationRequest other)AttachContactToConversationRequest._FinalStageid(java.lang.String id)The identifier for the conversation as given by Intercom.
-
-
-
Method Detail
-
from
public AttachContactToConversationRequest.Builder from(AttachContactToConversationRequest other)
- Specified by:
fromin interfaceAttachContactToConversationRequest.IdStage
-
id
public AttachContactToConversationRequest._FinalStage id(@NotNull java.lang.String id)
The identifier for the conversation as given by Intercom.
The identifier for the conversation as given by Intercom.
- Specified by:
idin interfaceAttachContactToConversationRequest.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customer
public AttachContactToConversationRequest._FinalStage customer(AttachContactToConversationRequest.Customer customer)
- Specified by:
customerin interfaceAttachContactToConversationRequest._FinalStage
-
customer
public AttachContactToConversationRequest._FinalStage customer(java.util.Optional<AttachContactToConversationRequest.Customer> customer)
- Specified by:
customerin interfaceAttachContactToConversationRequest._FinalStage
-
adminId
public AttachContactToConversationRequest._FinalStage adminId(java.lang.String adminId)
The
idof the admin who is adding the new participant.- Specified by:
adminIdin interfaceAttachContactToConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
adminId
public AttachContactToConversationRequest._FinalStage adminId(java.util.Optional<java.lang.String> adminId)
The
idof the admin who is adding the new participant.- Specified by:
adminIdin interfaceAttachContactToConversationRequest._FinalStage
-
build
public AttachContactToConversationRequest build()
- Specified by:
buildin interfaceAttachContactToConversationRequest._FinalStage
-
-