public static interface DetectTargetedSentimentResponse.Builder extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<DetectTargetedSentimentResponse.Builder,DetectTargetedSentimentResponse>
| Modifier and Type | Method and Description |
|---|---|
DetectTargetedSentimentResponse.Builder |
entities(Collection<TargetedSentimentEntity> entities)
Targeted sentiment analysis for each of the entities identified in the input text.
|
DetectTargetedSentimentResponse.Builder |
entities(Consumer<TargetedSentimentEntity.Builder>... entities)
Targeted sentiment analysis for each of the entities identified in the input text.
|
DetectTargetedSentimentResponse.Builder |
entities(TargetedSentimentEntity... entities)
Targeted sentiment analysis for each of the entities identified in the input text.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectTargetedSentimentResponse.Builder entities(Collection<TargetedSentimentEntity> entities)
Targeted sentiment analysis for each of the entities identified in the input text.
entities - Targeted sentiment analysis for each of the entities identified in the input text.DetectTargetedSentimentResponse.Builder entities(TargetedSentimentEntity... entities)
Targeted sentiment analysis for each of the entities identified in the input text.
entities - Targeted sentiment analysis for each of the entities identified in the input text.DetectTargetedSentimentResponse.Builder entities(Consumer<TargetedSentimentEntity.Builder>... entities)
Targeted sentiment analysis for each of the entities identified in the input text.
This is a convenience method that creates an instance of theTargetedSentimentEntity.Builder avoiding the need to
create one manually via
TargetedSentimentEntity.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #entities(List.
entities - a consumer that will call methods on
TargetedSentimentEntity.Builder#entities(java.util.Collection) Copyright © 2023. All rights reserved.