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