public static class CreateFlowsOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
CreateFlowsOptions.Builder |
acdFlow(AcdFlow acdFlow)
Set the acdFlow.
|
CreateFlowsOptions.Builder |
addAnnotatorFlows(AnnotatorFlow annotatorFlows)
Adds an annotatorFlows to annotatorFlows.
|
CreateFlowsOptions.Builder |
annotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)
Set the annotatorFlows.
|
CreateFlowsOptions |
build()
Builds a CreateFlowsOptions.
|
CreateFlowsOptions.Builder |
cartridgeId(java.lang.String cartridgeId)
Set the cartridgeId.
|
CreateFlowsOptions.Builder |
description(java.lang.String description)
Set the description.
|
CreateFlowsOptions.Builder |
id(java.lang.String id)
Set the id.
|
CreateFlowsOptions.Builder |
name(java.lang.String name)
Set the name.
|
CreateFlowsOptions.Builder |
publish(java.lang.Boolean publish)
Set the publish.
|
CreateFlowsOptions.Builder |
publishedDate(java.lang.String publishedDate)
Set the publishedDate.
|
CreateFlowsOptions.Builder |
version(java.lang.String version)
Set the version.
|
public CreateFlowsOptions build()
public CreateFlowsOptions.Builder addAnnotatorFlows(AnnotatorFlow annotatorFlows)
annotatorFlows
- the new annotatorFlowspublic CreateFlowsOptions.Builder id(java.lang.String id)
id
- the idpublic CreateFlowsOptions.Builder name(java.lang.String name)
name
- the namepublic CreateFlowsOptions.Builder description(java.lang.String description)
description
- the descriptionpublic CreateFlowsOptions.Builder publishedDate(java.lang.String publishedDate)
publishedDate
- the publishedDatepublic CreateFlowsOptions.Builder publish(java.lang.Boolean publish)
publish
- the publishpublic CreateFlowsOptions.Builder version(java.lang.String version)
version
- the versionpublic CreateFlowsOptions.Builder cartridgeId(java.lang.String cartridgeId)
cartridgeId
- the cartridgeIdpublic CreateFlowsOptions.Builder annotatorFlows(java.util.List<AnnotatorFlow> annotatorFlows)
annotatorFlows
- the annotatorFlowspublic CreateFlowsOptions.Builder acdFlow(AcdFlow acdFlow)
acdFlow
- the acdFlowCopyright © 2022 IBM Cloud. All rights reserved.