public static class RunPipelineWithFlowOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String flowId,
java.lang.Boolean returnAnalyzedText)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
RunPipelineWithFlowOptions.Builder |
analyticFlowBeanInput(AnalyticFlowBeanInput analyticFlowBeanInput)
Set the analyticFlowBeanInput.
|
RunPipelineWithFlowOptions |
build()
Builds a RunPipelineWithFlowOptions.
|
RunPipelineWithFlowOptions.Builder |
debug(java.lang.Boolean debug)
Set the debug flag.
|
RunPipelineWithFlowOptions.Builder |
debugTextRestore(java.lang.Boolean debugTextRestore)
Set the debugTextRestore.
|
RunPipelineWithFlowOptions.Builder |
flowId(java.lang.String flowId)
Set the flowId.
|
RunPipelineWithFlowOptions.Builder |
returnAnalyzedText(java.lang.Boolean returnAnalyzedText)
Set the returnAnalyzedText.
|
RunPipelineWithFlowOptions.Builder |
text(java.lang.String text)
Set the text.
|
public Builder()
public Builder(java.lang.String flowId, java.lang.Boolean returnAnalyzedText)
flowId
- the flowIdreturnAnalyzedText
- the returnAnalyzedTextpublic RunPipelineWithFlowOptions build()
public RunPipelineWithFlowOptions.Builder flowId(java.lang.String flowId)
flowId
- the flowIdpublic RunPipelineWithFlowOptions.Builder returnAnalyzedText(java.lang.Boolean returnAnalyzedText)
returnAnalyzedText
- the returnAnalyzedTextpublic RunPipelineWithFlowOptions.Builder debugTextRestore(java.lang.Boolean debugTextRestore)
debugTextRestore
- the debugTextRestorepublic RunPipelineWithFlowOptions.Builder analyticFlowBeanInput(AnalyticFlowBeanInput analyticFlowBeanInput)
analyticFlowBeanInput
- the analyticFlowBeanInputpublic RunPipelineWithFlowOptions.Builder text(java.lang.String text)
text
- the textpublic RunPipelineWithFlowOptions.Builder debug(java.lang.Boolean debug)
debug
- enable the analyze debug flagCopyright © 2022 IBM Cloud. All rights reserved.