Interface BatchDetectSyntaxRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<BatchDetectSyntaxRequest.Builder,BatchDetectSyntaxRequest>,SdkBuilder<BatchDetectSyntaxRequest.Builder,BatchDetectSyntaxRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchDetectSyntaxRequest
public static interface BatchDetectSyntaxRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<BatchDetectSyntaxRequest.Builder,BatchDetectSyntaxRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDetectSyntaxRequest.BuilderlanguageCode(String languageCode)The language of the input documents.BatchDetectSyntaxRequest.BuilderlanguageCode(SyntaxLanguageCode languageCode)The language of the input documents.BatchDetectSyntaxRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchDetectSyntaxRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)BatchDetectSyntaxRequest.BuildertextList(String... textList)A list containing the UTF-8 encoded text of the input documents.BatchDetectSyntaxRequest.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
BatchDetectSyntaxRequest.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 for 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 for each document is 5 KB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textList
BatchDetectSyntaxRequest.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 for 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 for each document is 5 KB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
BatchDetectSyntaxRequest.Builder languageCode(String languageCode)
The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). All documents must be in the same language.
- Parameters:
languageCode- The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). 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:
SyntaxLanguageCode,SyntaxLanguageCode
-
languageCode
BatchDetectSyntaxRequest.Builder languageCode(SyntaxLanguageCode languageCode)
The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). All documents must be in the same language.
- Parameters:
languageCode- The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). 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:
SyntaxLanguageCode,SyntaxLanguageCode
-
overrideConfiguration
BatchDetectSyntaxRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchDetectSyntaxRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-