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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectSentimentRequest.BuilderlanguageCode(String languageCode)The language of the input documents.DetectSentimentRequest.BuilderlanguageCode(LanguageCode languageCode)The language of the input documents.DetectSentimentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DetectSentimentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DetectSentimentRequest.Buildertext(String text)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 Detail
-
text
DetectSentimentRequest.Builder text(String 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
DetectSentimentRequest.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
DetectSentimentRequest.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
DetectSentimentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DetectSentimentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-