Interface BatchDetectTargetedSentimentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<BatchDetectTargetedSentimentRequest.Builder,BatchDetectTargetedSentimentRequest>,SdkBuilder<BatchDetectTargetedSentimentRequest.Builder,BatchDetectTargetedSentimentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchDetectTargetedSentimentRequest
public static interface BatchDetectTargetedSentimentRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<BatchDetectTargetedSentimentRequest.Builder,BatchDetectTargetedSentimentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDetectTargetedSentimentRequest.BuilderlanguageCode(String languageCode)The language of the input documents.BatchDetectTargetedSentimentRequest.BuilderlanguageCode(LanguageCode languageCode)The language of the input documents.BatchDetectTargetedSentimentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchDetectTargetedSentimentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)BatchDetectTargetedSentimentRequest.BuildertextList(String... textList)A list containing the UTF-8 encoded text of the input documents.BatchDetectTargetedSentimentRequest.BuildertextList(Collection<String> textList)A list containing the UTF-8 encoded text of the input documents.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
textList
BatchDetectTargetedSentimentRequest.Builder textList(Collection<String> textList)
A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.
- Parameters:
textList- A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textList
BatchDetectTargetedSentimentRequest.Builder textList(String... textList)
A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.
- Parameters:
textList- A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
BatchDetectTargetedSentimentRequest.Builder languageCode(String languageCode)
The language of the input documents. Currently, English is the only supported language.
- Parameters:
languageCode- The language of the input documents. Currently, English is the only supported language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,LanguageCode
-
languageCode
BatchDetectTargetedSentimentRequest.Builder languageCode(LanguageCode languageCode)
The language of the input documents. Currently, English is the only supported language.
- Parameters:
languageCode- The language of the input documents. Currently, English is the only supported language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,LanguageCode
-
overrideConfiguration
BatchDetectTargetedSentimentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchDetectTargetedSentimentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-