Package com.merative.acd.v1.model
Class Annotator.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.Annotator.Builder
-
- Enclosing class:
- Annotator
public static class Annotator.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotator.Builder
addConfigurations(ConfigurationEntity configurations)
Adds an configurations to configurations.Annotator.Builder
annotator(Annotator annotator)
Set the annotator.Annotator
build()
Builds a Annotator.Annotator.Builder
configurations(java.util.List<ConfigurationEntity> configurations)
Set the configurations.Annotator.Builder
description(java.lang.String description)
Set the description.Annotator.Builder
flow(Flow flow)
Set the flow.Annotator.Builder
name(java.lang.String name)
Set the name.Annotator.Builder
parameters(java.util.Map parameters)
Set the parameters.
-
-
-
Method Detail
-
build
public Annotator build()
Builds a Annotator.- Returns:
- the annotator
-
addConfigurations
public Annotator.Builder addConfigurations(ConfigurationEntity configurations)
Adds an configurations to configurations.- Parameters:
configurations
- the new configurations- Returns:
- the Annotator builder
-
annotator
public Annotator.Builder annotator(Annotator annotator)
Set the annotator.- Parameters:
annotator
- the annotator- Returns:
- the Annotator builder
-
flow
public Annotator.Builder flow(Flow flow)
Set the flow.- Parameters:
flow
- the flow- Returns:
- the Annotator builder
-
name
public Annotator.Builder name(java.lang.String name)
Set the name.- Parameters:
name
- the name- Returns:
- the Annotator builder
-
description
public Annotator.Builder description(java.lang.String description)
Set the description.- Parameters:
description
- the description- Returns:
- the Annotator builder
-
parameters
public Annotator.Builder parameters(java.util.Map parameters)
Set the parameters.- Parameters:
parameters
- the parameters- Returns:
- the Annotator builder
-
configurations
public Annotator.Builder configurations(java.util.List<ConfigurationEntity> configurations)
Set the configurations. Existing configurations will be replaced.- Parameters:
configurations
- the configurations- Returns:
- the Annotator builder
-
-