Package com.intercom.api.types
Class ContactCompany.Builder
- java.lang.Object
-
- com.intercom.api.types.ContactCompany.Builder
-
- All Implemented Interfaces:
ContactCompany._FinalStage,ContactCompany.IdStage,ContactCompany.UrlStage
- Enclosing class:
- ContactCompany
public static final class ContactCompany.Builder extends java.lang.Object implements ContactCompany.IdStage, ContactCompany.UrlStage, ContactCompany._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactCompanybuild()ContactCompany.Builderfrom(ContactCompany other)ContactCompany.UrlStageid(java.lang.String id)The unique identifier for the companyContactCompany._FinalStageurl(java.lang.String url)URL to get the full company resource
-
-
-
Method Detail
-
from
public ContactCompany.Builder from(ContactCompany other)
- Specified by:
fromin interfaceContactCompany.IdStage
-
id
public ContactCompany.UrlStage id(@NotNull java.lang.String id)
The unique identifier for the companyThe unique identifier for the company
- Specified by:
idin interfaceContactCompany.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
public ContactCompany._FinalStage url(@NotNull java.lang.String url)
URL to get the full company resourceURL to get the full company resource
- Specified by:
urlin interfaceContactCompany.UrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public ContactCompany build()
- Specified by:
buildin interfaceContactCompany._FinalStage
-
-