Class HelpCenter.Builder
- java.lang.Object
-
- com.intercom.api.resources.helpcenter.types.HelpCenter.Builder
-
- All Implemented Interfaces:
HelpCenter._FinalStage,HelpCenter.CreatedAtStage,HelpCenter.IdentifierStage,HelpCenter.IdStage,HelpCenter.UpdatedAtStage,HelpCenter.WorkspaceIdStage
- Enclosing class:
- HelpCenter
public static final class HelpCenter.Builder extends java.lang.Object implements HelpCenter.IdStage, HelpCenter.WorkspaceIdStage, HelpCenter.CreatedAtStage, HelpCenter.UpdatedAtStage, HelpCenter.IdentifierStage, HelpCenter._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HelpCenterbuild()HelpCenter.UpdatedAtStagecreatedAt(int createdAt)The time when the Help Center was created.HelpCenter._FinalStagecustomDomain(java.lang.String customDomain)Custom domain configured for the help centerHelpCenter._FinalStagecustomDomain(java.util.Optional<java.lang.String> customDomain)Custom domain configured for the help centerHelpCenter._FinalStagedisplayName(java.lang.String displayName)The display name of the Help Center only seen by teammates.HelpCenter._FinalStagedisplayName(java.util.Optional<java.lang.String> displayName)The display name of the Help Center only seen by teammates.HelpCenter.Builderfrom(HelpCenter other)HelpCenter.WorkspaceIdStageid(java.lang.String id)The unique identifier for the Help Center which is given by Intercom.HelpCenter._FinalStageidentifier(java.lang.String identifier)The identifier of the Help Center.HelpCenter.IdentifierStageupdatedAt(int updatedAt)The time when the Help Center was last updated.HelpCenter._FinalStageurl(java.lang.String url)The URL for the help center, if you have a custom domain then this will show the URL using the custom domain.HelpCenter._FinalStageurl(java.util.Optional<java.lang.String> url)The URL for the help center, if you have a custom domain then this will show the URL using the custom domain.HelpCenter._FinalStagewebsiteTurnedOn(java.lang.Boolean websiteTurnedOn)Whether the Help Center is turned on or not.HelpCenter._FinalStagewebsiteTurnedOn(java.util.Optional<java.lang.Boolean> websiteTurnedOn)Whether the Help Center is turned on or not.HelpCenter.CreatedAtStageworkspaceId(java.lang.String workspaceId)The id of the workspace which the Help Center belongs to.
-
-
-
Method Detail
-
from
public HelpCenter.Builder from(HelpCenter other)
- Specified by:
fromin interfaceHelpCenter.IdStage
-
id
public HelpCenter.WorkspaceIdStage id(@NotNull java.lang.String id)
The unique identifier for the Help Center which is given by Intercom.
The unique identifier for the Help Center which is given by Intercom.
- Specified by:
idin interfaceHelpCenter.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
workspaceId
public HelpCenter.CreatedAtStage workspaceId(@NotNull java.lang.String workspaceId)
The id of the workspace which the Help Center belongs to.
The id of the workspace which the Help Center belongs to.
- Specified by:
workspaceIdin interfaceHelpCenter.WorkspaceIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public HelpCenter.UpdatedAtStage createdAt(int createdAt)
The time when the Help Center was created.
The time when the Help Center was created.
- Specified by:
createdAtin interfaceHelpCenter.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
public HelpCenter.IdentifierStage updatedAt(int updatedAt)
The time when the Help Center was last updated.
The time when the Help Center was last updated.
- Specified by:
updatedAtin interfaceHelpCenter.UpdatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
identifier
public HelpCenter._FinalStage identifier(@NotNull java.lang.String identifier)
The identifier of the Help Center. This is used in the URL of the Help Center.
The identifier of the Help Center. This is used in the URL of the Help Center.
- Specified by:
identifierin interfaceHelpCenter.IdentifierStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customDomain
public HelpCenter._FinalStage customDomain(java.lang.String customDomain)
Custom domain configured for the help center
- Specified by:
customDomainin interfaceHelpCenter._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customDomain
public HelpCenter._FinalStage customDomain(java.util.Optional<java.lang.String> customDomain)
Custom domain configured for the help center
- Specified by:
customDomainin interfaceHelpCenter._FinalStage
-
url
public HelpCenter._FinalStage url(java.lang.String url)
The URL for the help center, if you have a custom domain then this will show the URL using the custom domain.
- Specified by:
urlin interfaceHelpCenter._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
public HelpCenter._FinalStage url(java.util.Optional<java.lang.String> url)
The URL for the help center, if you have a custom domain then this will show the URL using the custom domain.
- Specified by:
urlin interfaceHelpCenter._FinalStage
-
displayName
public HelpCenter._FinalStage displayName(java.lang.String displayName)
The display name of the Help Center only seen by teammates.
- Specified by:
displayNamein interfaceHelpCenter._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
displayName
public HelpCenter._FinalStage displayName(java.util.Optional<java.lang.String> displayName)
The display name of the Help Center only seen by teammates.
- Specified by:
displayNamein interfaceHelpCenter._FinalStage
-
websiteTurnedOn
public HelpCenter._FinalStage websiteTurnedOn(java.lang.Boolean websiteTurnedOn)
Whether the Help Center is turned on or not. This is controlled in your Help Center settings.
- Specified by:
websiteTurnedOnin interfaceHelpCenter._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
websiteTurnedOn
public HelpCenter._FinalStage websiteTurnedOn(java.util.Optional<java.lang.Boolean> websiteTurnedOn)
Whether the Help Center is turned on or not. This is controlled in your Help Center settings.
- Specified by:
websiteTurnedOnin interfaceHelpCenter._FinalStage
-
build
public HelpCenter build()
- Specified by:
buildin interfaceHelpCenter._FinalStage
-
-