public static class DetectLanguageSentimentsResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DetectLanguageSentimentsResult.Builder |
aspects(List<SentimentAspect> aspects)
List of detected aspects.
|
DetectLanguageSentimentsResult |
build() |
DetectLanguageSentimentsResult.Builder |
copy(DetectLanguageSentimentsResult model) |
public DetectLanguageSentimentsResult.Builder aspects(List<SentimentAspect> aspects)
List of detected aspects.
aspects
- the value to setpublic DetectLanguageSentimentsResult build()
public DetectLanguageSentimentsResult.Builder copy(DetectLanguageSentimentsResult model)
Copyright © 2016–2024. All rights reserved.