Class Recipient.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.Recipient.Builder
-
- All Implemented Interfaces:
Recipient._FinalStage,Recipient.IdStage,Recipient.TypeStage
- Enclosing class:
- Recipient
public static final class Recipient.Builder extends java.lang.Object implements Recipient.TypeStage, Recipient.IdStage, Recipient._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Recipientbuild()Recipient.Builderfrom(Recipient other)Recipient._FinalStageid(java.lang.String id)The identifier for the contact which is given by Intercom.Recipient.IdStagetype(Recipient.Type type)The role associated to the contact -userorlead.
-
-
-
Method Detail
-
from
public Recipient.Builder from(Recipient other)
- Specified by:
fromin interfaceRecipient.TypeStage
-
type
public Recipient.IdStage type(@NotNull Recipient.Type type)
The role associated to the contact -
userorlead.The role associated to the contact -
userorlead.- Specified by:
typein interfaceRecipient.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
public Recipient._FinalStage id(@NotNull java.lang.String id)
The identifier for the contact which is given by Intercom.
The identifier for the contact which is given by Intercom.
- Specified by:
idin interfaceRecipient.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public Recipient build()
- Specified by:
buildin interfaceRecipient._FinalStage
-
-