Class AttachContactToCompanyRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.companies.requests.AttachContactToCompanyRequest.Builder
-
- All Implemented Interfaces:
AttachContactToCompanyRequest._FinalStage,AttachContactToCompanyRequest.CompanyIdStage,AttachContactToCompanyRequest.ContactIdStage
- Enclosing class:
- AttachContactToCompanyRequest
public static final class AttachContactToCompanyRequest.Builder extends java.lang.Object implements AttachContactToCompanyRequest.ContactIdStage, AttachContactToCompanyRequest.CompanyIdStage, AttachContactToCompanyRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachContactToCompanyRequestbuild()AttachContactToCompanyRequest._FinalStagecompanyId(java.lang.String companyId)The unique identifier for the company which is given by IntercomAttachContactToCompanyRequest.CompanyIdStagecontactId(java.lang.String contactId)The unique identifier for the contact which is given by IntercomAttachContactToCompanyRequest.Builderfrom(AttachContactToCompanyRequest other)
-
-
-
Method Detail
-
from
public AttachContactToCompanyRequest.Builder from(AttachContactToCompanyRequest other)
- Specified by:
fromin interfaceAttachContactToCompanyRequest.ContactIdStage
-
contactId
public AttachContactToCompanyRequest.CompanyIdStage contactId(@NotNull java.lang.String contactId)
The unique identifier for the contact which is given by Intercom
The unique identifier for the contact which is given by Intercom
- Specified by:
contactIdin interfaceAttachContactToCompanyRequest.ContactIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
companyId
public AttachContactToCompanyRequest._FinalStage companyId(@NotNull java.lang.String companyId)
The unique identifier for the company which is given by Intercom
The unique identifier for the company which is given by Intercom
- Specified by:
companyIdin interfaceAttachContactToCompanyRequest.CompanyIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public AttachContactToCompanyRequest build()
- Specified by:
buildin interfaceAttachContactToCompanyRequest._FinalStage
-
-