Interface DetectSentimentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ComprehendRequest.Builder
,CopyableBuilder<DetectSentimentRequest.Builder,
,DetectSentimentRequest> SdkBuilder<DetectSentimentRequest.Builder,
,DetectSentimentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DetectSentimentRequest
public static interface DetectSentimentRequest.Builder
extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<DetectSentimentRequest.Builder,DetectSentimentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionlanguageCode
(String languageCode) The language of the input documents.languageCode
(LanguageCode languageCode) The language of the input documents.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A UTF-8 text string.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 Details
-
text
A UTF-8 text string. The maximum string size is 5 KB.
- Parameters:
text
- A UTF-8 text string. The maximum string size is 5 KB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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:
-
overrideConfiguration
DetectSentimentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DetectSentimentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-