Class TopicDetectionResultLabelsItem.Builder
- java.lang.Object
-
- com.assemblyai.api.resources.transcripts.types.TopicDetectionResultLabelsItem.Builder
-
- All Implemented Interfaces:
TopicDetectionResultLabelsItem._FinalStage,TopicDetectionResultLabelsItem.LabelStage,TopicDetectionResultLabelsItem.RelevanceStage
- Enclosing class:
- TopicDetectionResultLabelsItem
public static final class TopicDetectionResultLabelsItem.Builder extends java.lang.Object implements TopicDetectionResultLabelsItem.RelevanceStage, TopicDetectionResultLabelsItem.LabelStage, TopicDetectionResultLabelsItem._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopicDetectionResultLabelsItembuild()TopicDetectionResultLabelsItem.Builderfrom(TopicDetectionResultLabelsItem other)TopicDetectionResultLabelsItem._FinalStagelabel(java.lang.String label)The IAB taxonomical label for the label of the detected topic, where > denotes supertopic/subtopic relationshipTopicDetectionResultLabelsItem.LabelStagerelevance(double relevance)How relevant the detected topic is of a detected topic
-
-
-
Method Detail
-
from
public TopicDetectionResultLabelsItem.Builder from(TopicDetectionResultLabelsItem other)
- Specified by:
fromin interfaceTopicDetectionResultLabelsItem.RelevanceStage
-
relevance
public TopicDetectionResultLabelsItem.LabelStage relevance(double relevance)
How relevant the detected topic is of a detected topic
- Specified by:
relevancein interfaceTopicDetectionResultLabelsItem.RelevanceStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
label
public TopicDetectionResultLabelsItem._FinalStage label(java.lang.String label)
The IAB taxonomical label for the label of the detected topic, where > denotes supertopic/subtopic relationship
- Specified by:
labelin interfaceTopicDetectionResultLabelsItem.LabelStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public TopicDetectionResultLabelsItem build()
- Specified by:
buildin interfaceTopicDetectionResultLabelsItem._FinalStage
-
-