Package com.merative.acd.v1.model
Class AnalyzeOptions.Builder
- java.lang.Object
- 
- com.merative.acd.v1.model.AnalyzeOptions.Builder
 
- 
- Enclosing class:
- AnalyzeOptions
 
 public static class AnalyzeOptions.Builder extends java.lang.ObjectBuilder.
- 
- 
Constructor SummaryConstructors Constructor Description Builder()Instantiates a new builder.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalyzeOptions.BuilderaddAnnotatorFlows(AnnotatorFlow annotatorFlows)Adds an annotatorFlows to annotatorFlows.AnalyzeOptions.BuilderaddUnstructured(UnstructuredContainer unstructured)Adds an unstructured to unstructured.AnalyzeOptions.BuilderannotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)Set the annotatorFlows.AnalyzeOptionsbuild()Builds a AnalyzeOptions.AnalyzeOptions.Builderdebug(boolean debug)Set the debug flag.AnalyzeOptions.BuilderreturnAnalyzedText(boolean returnAnalyzedText)Set the returnAnalyzedText.AnalyzeOptions.Builderunstructured(java.util.List<UnstructuredContainer> unstructured)Set the unstructured.
 
- 
- 
- 
Method Detail- 
buildpublic AnalyzeOptions build() Builds a AnalyzeOptions.- Returns:
- the analyzeOptions
 
 - 
addUnstructuredpublic AnalyzeOptions.Builder addUnstructured(UnstructuredContainer unstructured) Adds an unstructured to unstructured.- Parameters:
- unstructured- the new unstructured
- Returns:
- the AnalyzeOptions builder
 
 - 
addAnnotatorFlowspublic AnalyzeOptions.Builder addAnnotatorFlows(AnnotatorFlow annotatorFlows) Adds an annotatorFlows to annotatorFlows.- Parameters:
- annotatorFlows- the new annotatorFlows
- Returns:
- the AnalyzeOptions builder
 
 - 
unstructuredpublic AnalyzeOptions.Builder unstructured(java.util.List<UnstructuredContainer> unstructured) Set the unstructured. Existing unstructured will be replaced.- Parameters:
- unstructured- the unstructured
- Returns:
- the AnalyzeOptions builder
 
 - 
annotatorFlowspublic AnalyzeOptions.Builder annotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows) Set the annotatorFlows. Existing annotatorFlows will be replaced.- Parameters:
- annotatorFlows- the annotatorFlows
- Returns:
- the AnalyzeOptions builder
 
 - 
returnAnalyzedTextpublic AnalyzeOptions.Builder returnAnalyzedText(boolean returnAnalyzedText) Set the returnAnalyzedText.- Parameters:
- returnAnalyzedText- whether to return the submitted text
- Returns:
- the AnalyzeOptionsbuilder
 
 - 
debugpublic AnalyzeOptions.Builder debug(boolean debug) Set the debug flag.- Parameters:
- debug- enable analyze debug flag
- Returns:
- the AnalyzeOptionsbuilder
 
 
- 
 
-