Interface BatchDetectSentimentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<BatchDetectSentimentRequest.Builder,BatchDetectSentimentRequest>,SdkBuilder<BatchDetectSentimentRequest.Builder,BatchDetectSentimentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchDetectSentimentRequest
public static interface BatchDetectSentimentRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<BatchDetectSentimentRequest.Builder,BatchDetectSentimentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDetectSentimentRequest.BuilderlanguageCode(String languageCode)The language of the input documents.BatchDetectSentimentRequest.BuilderlanguageCode(LanguageCode languageCode)The language of the input documents.BatchDetectSentimentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchDetectSentimentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)BatchDetectSentimentRequest.BuildertextList(String... textList)A list containing the UTF-8 encoded text of the input documents.BatchDetectSentimentRequest.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
BatchDetectSentimentRequest.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
BatchDetectSentimentRequest.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
BatchDetectSentimentRequest.Builder languageCode(String languageCode)
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
- Parameters:
languageCode- The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,LanguageCode
-
languageCode
BatchDetectSentimentRequest.Builder languageCode(LanguageCode languageCode)
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
- Parameters:
languageCode- The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,LanguageCode
-
overrideConfiguration
BatchDetectSentimentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchDetectSentimentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-