Package com.merative.acd.v1.model
Class AnalyzeWithFlowOptions.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.AnalyzeWithFlowOptions.Builder
-
- Enclosing class:
- AnalyzeWithFlowOptions
public static class AnalyzeWithFlowOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalyzeWithFlowOptionsbuild()Builds a AnalyzeWithFlowOptions.AnalyzeWithFlowOptions.BuildercontentType(java.lang.String contentType)Set the flowId.AnalyzeWithFlowOptions.Builderdebug(boolean debug)Set the debug.AnalyzeWithFlowOptions.BuilderflowId(java.lang.String flowId)Set the flowId.AnalyzeWithFlowOptions.Builderrequest(RequestContainer request)Set the request.AnalyzeWithFlowOptions.BuilderreturnAnalyzedText(boolean returnAnalyzedText)Set the returnAnalyzedText.AnalyzeWithFlowOptions.Buildertext(java.lang.String text)Set the text.
-
-
-
Method Detail
-
build
public AnalyzeWithFlowOptions build()
Builds a AnalyzeWithFlowOptions.- Returns:
- the analyzeWithFlowOptions
-
contentType
public AnalyzeWithFlowOptions.Builder contentType(java.lang.String contentType)
Set the flowId.- Parameters:
contentType- the content type for request- Returns:
- the AnalyzeWithFlowOptions builder
-
flowId
public AnalyzeWithFlowOptions.Builder flowId(java.lang.String flowId)
Set the flowId.- Parameters:
flowId- the flowId- Returns:
- the AnalyzeWithFlowOptions builder
-
text
public AnalyzeWithFlowOptions.Builder text(java.lang.String text)
Set the text.- Parameters:
text- the text- Returns:
- the AnalyzeWithFlowOptions builder
-
request
public AnalyzeWithFlowOptions.Builder request(RequestContainer request)
Set the request.- Parameters:
request- the request- Returns:
- the AnalyzeWithFlowOptions builder
-
returnAnalyzedText
public AnalyzeWithFlowOptions.Builder returnAnalyzedText(boolean returnAnalyzedText)
Set the returnAnalyzedText.- Parameters:
returnAnalyzedText- whether to return the submitted text- Returns:
- the AnalyzeWithFlowOptions builder
-
debug
public AnalyzeWithFlowOptions.Builder debug(boolean debug)
Set the debug.- Parameters:
debug- enable analyze debug flag- Returns:
- the AnalyzeWithFlowOptions builder
-
-