Class HelpCenter.Builder
- java.lang.Object
-
- com.intercom.api.resources.helpcenter.types.HelpCenter.Builder
-
- All Implemented Interfaces:
HelpCenter._FinalStage,HelpCenter.CreatedAtStage,HelpCenter.DisplayNameStage,HelpCenter.IdentifierStage,HelpCenter.IdStage,HelpCenter.WebsiteTurnedOnStage,HelpCenter.WorkspaceIdStage
- Enclosing class:
- HelpCenter
public static final class HelpCenter.Builder extends java.lang.Object implements HelpCenter.IdStage, HelpCenter.WorkspaceIdStage, HelpCenter.CreatedAtStage, HelpCenter.IdentifierStage, HelpCenter.WebsiteTurnedOnStage, HelpCenter.DisplayNameStage, HelpCenter._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HelpCenterbuild()HelpCenter.IdentifierStagecreatedAt(int createdAt)The time when the Help Center was created.HelpCenter._FinalStagedisplayName(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.WebsiteTurnedOnStageidentifier(java.lang.String identifier)The identifier of the Help Center.HelpCenter._FinalStageupdatedAt(java.lang.Integer updatedAt)The time when the Help Center was last updated.HelpCenter._FinalStageupdatedAt(java.util.Optional<java.lang.Integer> updatedAt)The time when the Help Center was last updated.HelpCenter.DisplayNameStagewebsiteTurnedOn(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.IdentifierStage 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.
-
identifier
public HelpCenter.WebsiteTurnedOnStage 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.
-
websiteTurnedOn
public HelpCenter.DisplayNameStage websiteTurnedOn(boolean websiteTurnedOn)
Whether the Help Center is turned on or not. This is controlled in your Help Center settings.Whether the Help Center is turned on or not. This is controlled in your Help Center settings.
- Specified by:
websiteTurnedOnin interfaceHelpCenter.WebsiteTurnedOnStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
displayName
public HelpCenter._FinalStage displayName(@NotNull java.lang.String displayName)
The display name of the Help Center only seen by teammates.The display name of the Help Center only seen by teammates.
- Specified by:
displayNamein interfaceHelpCenter.DisplayNameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
public HelpCenter._FinalStage updatedAt(java.lang.Integer updatedAt)
The time when the Help Center was last updated.
- Specified by:
updatedAtin interfaceHelpCenter._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
public HelpCenter._FinalStage updatedAt(java.util.Optional<java.lang.Integer> updatedAt)
The time when the Help Center was last updated.
- Specified by:
updatedAtin interfaceHelpCenter._FinalStage
-
build
public HelpCenter build()
- Specified by:
buildin interfaceHelpCenter._FinalStage
-
-