Package com.intercom.api.types
Class ContentSourcesList.Builder
- java.lang.Object
-
- com.intercom.api.types.ContentSourcesList.Builder
-
- All Implemented Interfaces:
ContentSourcesList._FinalStage,ContentSourcesList.TotalCountStage
- Enclosing class:
- ContentSourcesList
public static final class ContentSourcesList.Builder extends java.lang.Object implements ContentSourcesList.TotalCountStage, ContentSourcesList._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentSourcesList._FinalStageaddAllContentSources(java.util.List<ContentSource> contentSources)The content sources used by AI Agent in the conversation.ContentSourcesList._FinalStageaddContentSources(ContentSource contentSources)The content sources used by AI Agent in the conversation.ContentSourcesListbuild()ContentSourcesList._FinalStagecontentSources(java.util.List<ContentSource> contentSources)The content sources used by AI Agent in the conversation.ContentSourcesList.Builderfrom(ContentSourcesList other)ContentSourcesList._FinalStagetotalCount(int totalCount)The total number of content sources used by AI Agent in the conversation.
-
-
-
Method Detail
-
from
public ContentSourcesList.Builder from(ContentSourcesList other)
- Specified by:
fromin interfaceContentSourcesList.TotalCountStage
-
totalCount
public ContentSourcesList._FinalStage totalCount(int totalCount)
The total number of content sources used by AI Agent in the conversation.The total number of content sources used by AI Agent in the conversation.
- Specified by:
totalCountin interfaceContentSourcesList.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllContentSources
public ContentSourcesList._FinalStage addAllContentSources(java.util.List<ContentSource> contentSources)
The content sources used by AI Agent in the conversation.
- Specified by:
addAllContentSourcesin interfaceContentSourcesList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addContentSources
public ContentSourcesList._FinalStage addContentSources(ContentSource contentSources)
The content sources used by AI Agent in the conversation.
- Specified by:
addContentSourcesin interfaceContentSourcesList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentSources
public ContentSourcesList._FinalStage contentSources(java.util.List<ContentSource> contentSources)
The content sources used by AI Agent in the conversation.
- Specified by:
contentSourcesin interfaceContentSourcesList._FinalStage
-
build
public ContentSourcesList build()
- Specified by:
buildin interfaceContentSourcesList._FinalStage
-
-