public static class FlowUtil.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
FlowUtil.Builder |
addAnnotators(java.lang.String annotators)
Adds an annotators to annotators.
|
FlowUtil.Builder |
annotators(java.util.List<java.lang.String> annotators)
Set the annotators.
|
FlowUtil.Builder |
async(java.lang.Boolean async)
Set the async.
|
Flow |
build()
Builds a FlowUtil.
|
public Flow build()
public FlowUtil.Builder addAnnotators(java.lang.String annotators)
annotators
- the new annotatorspublic FlowUtil.Builder annotators(java.util.List<java.lang.String> annotators)
annotators
- the annotatorspublic FlowUtil.Builder async(java.lang.Boolean async)
async
- the asyncCopyright © 2022 IBM Cloud. All rights reserved.