Package com.merative.acd.v1.model
Class UpdateFlowsOptions.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.UpdateFlowsOptions.Builder
-
- Enclosing class:
- UpdateFlowsOptions
public static class UpdateFlowsOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFlowsOptions.Builder
acdFlow(AcdFlow acdFlow)
Set the acdFlow.UpdateFlowsOptions.Builder
addNewAnnotatorFlows(AnnotatorFlow newAnnotatorFlows)
Adds an newAnnotatorFlows to newAnnotatorFlows.UpdateFlowsOptions
build()
Builds a UpdateFlowsOptions.UpdateFlowsOptions.Builder
id(java.lang.String id)
Set the id.UpdateFlowsOptions.Builder
newAnnotatorFlows(java.util.List<AnnotatorFlow> newAnnotatorFlows)
Set the newAnnotatorFlows.UpdateFlowsOptions.Builder
newCartridgeId(java.lang.String newCartridgeId)
Set the newCartridgeId.UpdateFlowsOptions.Builder
newDescription(java.lang.String newDescription)
Set the newDescription.UpdateFlowsOptions.Builder
newId(java.lang.String newId)
Set the newId.UpdateFlowsOptions.Builder
newName(java.lang.String newName)
Set the newName.UpdateFlowsOptions.Builder
newPublish(java.lang.Boolean newPublish)
Set the newPublish.UpdateFlowsOptions.Builder
newPublishedDate(java.lang.String newPublishedDate)
Set the newPublishedDate.UpdateFlowsOptions.Builder
newVersion(java.lang.String newVersion)
Set the newVersion.
-
-
-
Method Detail
-
build
public UpdateFlowsOptions build()
Builds a UpdateFlowsOptions.- Returns:
- the new UpdateFlowsOptions instance
-
addNewAnnotatorFlows
public UpdateFlowsOptions.Builder addNewAnnotatorFlows(AnnotatorFlow newAnnotatorFlows)
Adds an newAnnotatorFlows to newAnnotatorFlows.- Parameters:
newAnnotatorFlows
- the new newAnnotatorFlows- Returns:
- the UpdateFlowsOptions builder
-
id
public UpdateFlowsOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id
- the id- Returns:
- the UpdateFlowsOptions builder
-
newId
public UpdateFlowsOptions.Builder newId(java.lang.String newId)
Set the newId.- Parameters:
newId
- the newId- Returns:
- the UpdateFlowsOptions builder
-
newName
public UpdateFlowsOptions.Builder newName(java.lang.String newName)
Set the newName.- Parameters:
newName
- the newName- Returns:
- the UpdateFlowsOptions builder
-
newDescription
public UpdateFlowsOptions.Builder newDescription(java.lang.String newDescription)
Set the newDescription.- Parameters:
newDescription
- the newDescription- Returns:
- the UpdateFlowsOptions builder
-
newPublishedDate
public UpdateFlowsOptions.Builder newPublishedDate(java.lang.String newPublishedDate)
Set the newPublishedDate.- Parameters:
newPublishedDate
- the newPublishedDate- Returns:
- the UpdateFlowsOptions builder
-
newPublish
public UpdateFlowsOptions.Builder newPublish(java.lang.Boolean newPublish)
Set the newPublish.- Parameters:
newPublish
- the newPublish- Returns:
- the UpdateFlowsOptions builder
-
newVersion
public UpdateFlowsOptions.Builder newVersion(java.lang.String newVersion)
Set the newVersion.- Parameters:
newVersion
- the newVersion- Returns:
- the UpdateFlowsOptions builder
-
newCartridgeId
public UpdateFlowsOptions.Builder newCartridgeId(java.lang.String newCartridgeId)
Set the newCartridgeId.- Parameters:
newCartridgeId
- the newCartridgeId- Returns:
- the UpdateFlowsOptions builder
-
newAnnotatorFlows
public UpdateFlowsOptions.Builder newAnnotatorFlows(java.util.List<AnnotatorFlow> newAnnotatorFlows)
Set the newAnnotatorFlows. Existing newAnnotatorFlows will be replaced.- Parameters:
newAnnotatorFlows
- the newAnnotatorFlows- Returns:
- the UpdateFlowsOptions builder
-
acdFlow
public UpdateFlowsOptions.Builder acdFlow(AcdFlow acdFlow)
Set the acdFlow.- Parameters:
acdFlow
- the acdFlow- Returns:
- the UpdateFlowsOptions builder
-
-