Package com.merative.acd.v1.model
Class AcdFlow.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.AcdFlow.Builder
-
- Enclosing class:
- AcdFlow
public static class AcdFlow.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 AcdFlow.BuilderaddAnnotatorFlows(AnnotatorFlow annotatorFlows)Adds an annotatorFlows to annotatorFlows.AcdFlow.BuilderannotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)Set the annotatorFlows.AcdFlowbuild()Builds a AcdFlow.AcdFlow.BuildercartridgeId(java.lang.String cartridgeId)Set the cartridgeId.AcdFlow.Builderdescription(java.lang.String description)Set the description.AcdFlow.Builderid(java.lang.String id)Set the id.AcdFlow.Buildername(java.lang.String name)Set the name.AcdFlow.Builderpublish(java.lang.Boolean publish)Set the publish.AcdFlow.BuilderpublishedDate(java.lang.String publishedDate)Set the publishedDate.AcdFlow.Builderversion(java.lang.String version)Set the version.
-
-
-
Method Detail
-
build
public AcdFlow build()
Builds a AcdFlow.- Returns:
- the new AcdFlow instance
-
addAnnotatorFlows
public AcdFlow.Builder addAnnotatorFlows(AnnotatorFlow annotatorFlows)
Adds an annotatorFlows to annotatorFlows.- Parameters:
annotatorFlows- the new annotatorFlows- Returns:
- the AcdFlow builder
-
id
public AcdFlow.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the AcdFlow builder
-
name
public AcdFlow.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the AcdFlow builder
-
description
public AcdFlow.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the AcdFlow builder
-
publishedDate
public AcdFlow.Builder publishedDate(java.lang.String publishedDate)
Set the publishedDate.- Parameters:
publishedDate- the publishedDate- Returns:
- the AcdFlow builder
-
publish
public AcdFlow.Builder publish(java.lang.Boolean publish)
Set the publish.- Parameters:
publish- the publish- Returns:
- the AcdFlow builder
-
version
public AcdFlow.Builder version(java.lang.String version)
Set the version.- Parameters:
version- the version- Returns:
- the AcdFlow builder
-
cartridgeId
public AcdFlow.Builder cartridgeId(java.lang.String cartridgeId)
Set the cartridgeId.- Parameters:
cartridgeId- the cartridgeId- Returns:
- the AcdFlow builder
-
annotatorFlows
public AcdFlow.Builder annotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)
Set the annotatorFlows. Existing annotatorFlows will be replaced.- Parameters:
annotatorFlows- the annotatorFlows- Returns:
- the AcdFlow builder
-
-