Class UpdateCollectionRequest.Builder
java.lang.Object
com.intercom.api.resources.helpcenters.collections.requests.UpdateCollectionRequest.Builder
- All Implemented Interfaces:
UpdateCollectionRequest._FinalStage,UpdateCollectionRequest.CollectionIdStage
- Enclosing class:
UpdateCollectionRequest
public static final class UpdateCollectionRequest.Builder
extends Object
implements UpdateCollectionRequest.CollectionIdStage, UpdateCollectionRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()collectionId(String collectionId) The unique identifier for the collection which is given by Intercom.description(String description) The description of the collection.description(Optional<String> description) from(UpdateCollectionRequest other) The name of the collection.The id of the parent collection.translatedContent(GroupTranslatedContent translatedContent) translatedContent(Optional<GroupTranslatedContent> translatedContent)
-
Method Details
-
from
- Specified by:
fromin interfaceUpdateCollectionRequest.CollectionIdStage
-
collectionId
The unique identifier for the collection which is given by Intercom.
- Specified by:
collectionIdin interfaceUpdateCollectionRequest.CollectionIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
parentId
The id of the parent collection. If
nullthen it will be updated as the first level collection.- Specified by:
parentIdin interfaceUpdateCollectionRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
parentId
- Specified by:
parentIdin interfaceUpdateCollectionRequest._FinalStage
-
translatedContent
public UpdateCollectionRequest._FinalStage translatedContent(GroupTranslatedContent translatedContent) - Specified by:
translatedContentin interfaceUpdateCollectionRequest._FinalStage
-
translatedContent
public UpdateCollectionRequest._FinalStage translatedContent(Optional<GroupTranslatedContent> translatedContent) - Specified by:
translatedContentin interfaceUpdateCollectionRequest._FinalStage
-
description
The description of the collection. For multilingual collections, this will be the description of the default language's content.
- Specified by:
descriptionin interfaceUpdateCollectionRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
- Specified by:
descriptionin interfaceUpdateCollectionRequest._FinalStage
-
name
The name of the collection. For multilingual collections, this will be the name of the default language's content.
- Specified by:
namein interfaceUpdateCollectionRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
- Specified by:
namein interfaceUpdateCollectionRequest._FinalStage
-
build
- Specified by:
buildin interfaceUpdateCollectionRequest._FinalStage
-