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.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalyzeWithFlowOptions
build()
Builds a AnalyzeWithFlowOptions.AnalyzeWithFlowOptions.Builder
contentType(java.lang.String contentType)
Set the flowId.AnalyzeWithFlowOptions.Builder
debug(boolean debug)
Set the debug.AnalyzeWithFlowOptions.Builder
flowId(java.lang.String flowId)
Set the flowId.AnalyzeWithFlowOptions.Builder
request(RequestContainer request)
Set the request.AnalyzeWithFlowOptions.Builder
returnAnalyzedText(boolean returnAnalyzedText)
Set the returnAnalyzedText.AnalyzeWithFlowOptions.Builder
text(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
-
-