Package com.merative.acd.v1.util
Class FlowUtil.Builder
- java.lang.Object
-
- com.merative.acd.v1.util.FlowUtil.Builder
-
- Enclosing class:
- FlowUtil
public static class FlowUtil.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowUtil.BuilderaddAnnotators(java.lang.String annotators)Adds an annotators to annotators.FlowUtil.Builderannotators(java.util.List<java.lang.String> annotators)Set the annotators.FlowUtil.Builderasync(java.lang.Boolean async)Set the async.Flowbuild()Builds a FlowUtil.
-
-
-
Method Detail
-
build
public Flow build()
Builds a FlowUtil.- Returns:
- the flowUtil
-
addAnnotators
public FlowUtil.Builder addAnnotators(java.lang.String annotators)
Adds an annotators to annotators.- Parameters:
annotators- the new annotators- Returns:
- the FlowUtil builder
-
annotators
public FlowUtil.Builder annotators(java.util.List<java.lang.String> annotators)
Set the annotators. Existing annotators will be replaced.- Parameters:
annotators- the annotators- Returns:
- the FlowUtil builder
-
async
public FlowUtil.Builder async(java.lang.Boolean async)
Set the async.- Parameters:
async- the async- Returns:
- the FlowUtil builder
-
-