Package com.intercom.api.types
Class App.Builder
- java.lang.Object
-
- com.intercom.api.types.App.Builder
-
- All Implemented Interfaces:
App._FinalStage,App.CreatedAtStage,App.IdCodeStage,App.IdentityVerificationStage,App.NameStage,App.RegionStage,App.TimezoneStage,App.TypeStage
- Enclosing class:
- App
public static final class App.Builder extends java.lang.Object implements App.TypeStage, App.IdCodeStage, App.NameStage, App.RegionStage, App.TimezoneStage, App.CreatedAtStage, App.IdentityVerificationStage, App._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Appbuild()App.IdentityVerificationStagecreatedAt(int createdAt)When the app was created.App.Builderfrom(App other)App.NameStageidCode(java.lang.String idCode)The id of the app.App._FinalStageidentityVerification(boolean identityVerification)Whether or not the app uses identity verification.App.RegionStagename(java.lang.String name)The name of the app.App.TimezoneStageregion(java.lang.String region)The Intercom region the app is located in.App.CreatedAtStagetimezone(java.lang.String timezone)The timezone of the region where the app is located.App.IdCodeStagetype(java.lang.String type)
-
-
-
Method Detail
-
from
public App.Builder from(App other)
- Specified by:
fromin interfaceApp.TypeStage
-
type
public App.IdCodeStage type(@NotNull java.lang.String type)
- Specified by:
typein interfaceApp.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
idCode
public App.NameStage idCode(@NotNull java.lang.String idCode)
The id of the app.The id of the app.
- Specified by:
idCodein interfaceApp.IdCodeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public App.RegionStage name(@NotNull java.lang.String name)
The name of the app.The name of the app.
- Specified by:
namein interfaceApp.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
region
public App.TimezoneStage region(@NotNull java.lang.String region)
The Intercom region the app is located in.The Intercom region the app is located in.
- Specified by:
regionin interfaceApp.RegionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
timezone
public App.CreatedAtStage timezone(@NotNull java.lang.String timezone)
The timezone of the region where the app is located.The timezone of the region where the app is located.
- Specified by:
timezonein interfaceApp.TimezoneStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public App.IdentityVerificationStage createdAt(int createdAt)
When the app was created.When the app was created.
- Specified by:
createdAtin interfaceApp.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
identityVerification
public App._FinalStage identityVerification(boolean identityVerification)
Whether or not the app uses identity verification.Whether or not the app uses identity verification.
- Specified by:
identityVerificationin interfaceApp.IdentityVerificationStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public App build()
- Specified by:
buildin interfaceApp._FinalStage
-
-