public static class AnalyzeOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
AnalyzeOptions.Builder |
addAnnotatorFlows(AnnotatorFlow annotatorFlows)
Adds an annotatorFlows to annotatorFlows.
|
AnalyzeOptions.Builder |
addUnstructured(UnstructuredContainer unstructured)
Adds an unstructured to unstructured.
|
AnalyzeOptions.Builder |
annotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)
Set the annotatorFlows.
|
AnalyzeOptions |
build()
Builds a AnalyzeOptions.
|
AnalyzeOptions.Builder |
returnAnalyzedText(boolean returnAnalyzedText)
Set the returnAnalyzedText.
|
AnalyzeOptions.Builder |
unstructured(java.util.List<UnstructuredContainer> unstructured)
Set the unstructured.
|
public AnalyzeOptions build()
public AnalyzeOptions.Builder addUnstructured(UnstructuredContainer unstructured)
unstructured
- the new unstructuredpublic AnalyzeOptions.Builder addAnnotatorFlows(AnnotatorFlow annotatorFlows)
annotatorFlows
- the new annotatorFlowspublic AnalyzeOptions.Builder unstructured(java.util.List<UnstructuredContainer> unstructured)
unstructured
- the unstructuredpublic AnalyzeOptions.Builder annotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)
annotatorFlows
- the annotatorFlowspublic AnalyzeOptions.Builder returnAnalyzedText(boolean returnAnalyzedText)
returnAnalyzedText
- whether to return the submitted textCopyright © 2021 IBM Cloud. All rights reserved.