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.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AcdFlow.Builder
addAnnotatorFlows(AnnotatorFlow annotatorFlows)
Adds an annotatorFlows to annotatorFlows.AcdFlow.Builder
annotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)
Set the annotatorFlows.AcdFlow
build()
Builds a AcdFlow.AcdFlow.Builder
cartridgeId(java.lang.String cartridgeId)
Set the cartridgeId.AcdFlow.Builder
description(java.lang.String description)
Set the description.AcdFlow.Builder
id(java.lang.String id)
Set the id.AcdFlow.Builder
name(java.lang.String name)
Set the name.AcdFlow.Builder
publish(java.lang.Boolean publish)
Set the publish.AcdFlow.Builder
publishedDate(java.lang.String publishedDate)
Set the publishedDate.AcdFlow.Builder
version(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
-
-