Interface AnalysisResult.Builder
- Enclosing interface:
AnalysisResult
public static interface AnalysisResult.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetMlImageRecognitionResult
(List<MachineLearningImageRecognitionResult> mlImageRecognitionResult) see gettersetMlNluResult
(List<MachineLearningNLUResult> mlNluResult) see gettersetMlOffensiveAnalysisResult
(List<OffensiveAnalysis> mlOffensiveAnalysisResult) see gettersetMlPiiResult
(List<MachineLearningPIIResult> mlPiiResult) see gettersetMlSentimentResult
(List<MachineLearningSentimentResult> mlSentimentResult) see getter
-
Method Details
-
setMlSentimentResult
see getter- Parameters:
mlSentimentResult
- see getter- Returns:
- Current builder
- See Also:
-
setMlNluResult
see getter- Parameters:
mlNluResult
- see getter- Returns:
- Current builder
- See Also:
-
setMlImageRecognitionResult
AnalysisResult.Builder setMlImageRecognitionResult(List<MachineLearningImageRecognitionResult> mlImageRecognitionResult) see getter- Parameters:
mlImageRecognitionResult
- see getter- Returns:
- Current builder
- See Also:
-
setMlPiiResult
see getter- Parameters:
mlPiiResult
- see getter- Returns:
- Current builder
- See Also:
-
setMlOffensiveAnalysisResult
AnalysisResult.Builder setMlOffensiveAnalysisResult(List<OffensiveAnalysis> mlOffensiveAnalysisResult) see getter- Parameters:
mlOffensiveAnalysisResult
- see getter- Returns:
- Current builder
- See Also:
-
build
AnalysisResult build()Create instance- Returns:
- The instance build with current builder values
-