Class CreateContactNoteRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.notes.requests.CreateContactNoteRequest.Builder
-
- All Implemented Interfaces:
CreateContactNoteRequest._FinalStage,CreateContactNoteRequest.BodyStage,CreateContactNoteRequest.ContactIdStage
- Enclosing class:
- CreateContactNoteRequest
public static final class CreateContactNoteRequest.Builder extends java.lang.Object implements CreateContactNoteRequest.ContactIdStage, CreateContactNoteRequest.BodyStage, CreateContactNoteRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateContactNoteRequest._FinalStageadminId(java.lang.String adminId)The unique identifier of a given admin.CreateContactNoteRequest._FinalStageadminId(java.util.Optional<java.lang.String> adminId)The unique identifier of a given admin.CreateContactNoteRequest._FinalStagebody(java.lang.String body)The text of the note.CreateContactNoteRequestbuild()CreateContactNoteRequest.BodyStagecontactId(java.lang.String contactId)The unique identifier of a given contact.CreateContactNoteRequest.Builderfrom(CreateContactNoteRequest other)
-
-
-
Method Detail
-
from
public CreateContactNoteRequest.Builder from(CreateContactNoteRequest other)
- Specified by:
fromin interfaceCreateContactNoteRequest.ContactIdStage
-
contactId
public CreateContactNoteRequest.BodyStage contactId(@NotNull java.lang.String contactId)
The unique identifier of a given contact.
The unique identifier of a given contact.
- Specified by:
contactIdin interfaceCreateContactNoteRequest.ContactIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
public CreateContactNoteRequest._FinalStage body(@NotNull java.lang.String body)
The text of the note.
The text of the note.
- Specified by:
bodyin interfaceCreateContactNoteRequest.BodyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
adminId
public CreateContactNoteRequest._FinalStage adminId(java.lang.String adminId)
The unique identifier of a given admin.
- Specified by:
adminIdin interfaceCreateContactNoteRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
adminId
public CreateContactNoteRequest._FinalStage adminId(java.util.Optional<java.lang.String> adminId)
The unique identifier of a given admin.
- Specified by:
adminIdin interfaceCreateContactNoteRequest._FinalStage
-
build
public CreateContactNoteRequest build()
- Specified by:
buildin interfaceCreateContactNoteRequest._FinalStage
-
-