public static class RunPipelineOptions.Builder
extends java.lang.Object
| Constructor and Description | 
|---|
Builder()
Instantiates a new builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RunPipelineOptions.Builder | 
addAnnotatorFlows(AnnotatorFlow annotatorFlows)
Adds an annotatorFlows to annotatorFlows. 
 | 
RunPipelineOptions.Builder | 
addUnstructured(UnstructuredContainer unstructured)
Adds an unstructured to unstructured. 
 | 
RunPipelineOptions.Builder | 
annotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)
Set the annotatorFlows. 
 | 
RunPipelineOptions | 
build()
Builds a RunPipelineOptions. 
 | 
RunPipelineOptions.Builder | 
debug(java.lang.Boolean debug)
Set the debug flag. 
 | 
RunPipelineOptions.Builder | 
debugTextRestore(java.lang.Boolean debugTextRestore)
Set the debugTextRestore. 
 | 
RunPipelineOptions.Builder | 
returnAnalyzedText(java.lang.Boolean returnAnalyzedText)
Set the returnAnalyzedText. 
 | 
RunPipelineOptions.Builder | 
unstructured(java.util.List<UnstructuredContainer> unstructured)
Set the unstructured. 
 | 
public RunPipelineOptions build()
public RunPipelineOptions.Builder addUnstructured(UnstructuredContainer unstructured)
unstructured - the new unstructuredpublic RunPipelineOptions.Builder addAnnotatorFlows(AnnotatorFlow annotatorFlows)
annotatorFlows - the new annotatorFlowspublic RunPipelineOptions.Builder unstructured(java.util.List<UnstructuredContainer> unstructured)
unstructured - the unstructuredpublic RunPipelineOptions.Builder annotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)
annotatorFlows - the annotatorFlowspublic RunPipelineOptions.Builder debugTextRestore(java.lang.Boolean debugTextRestore)
debugTextRestore - the debugTextRestorepublic RunPipelineOptions.Builder returnAnalyzedText(java.lang.Boolean returnAnalyzedText)
returnAnalyzedText - the returnAnalyzedTextpublic RunPipelineOptions.Builder debug(java.lang.Boolean debug)
debug - enable the analyze debug flagCopyright © 2022 IBM Cloud. All rights reserved.