Interface DetectSyntaxRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ComprehendRequest.Builder
,CopyableBuilder<DetectSyntaxRequest.Builder,
,DetectSyntaxRequest> SdkBuilder<DetectSyntaxRequest.Builder,
,DetectSyntaxRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DetectSyntaxRequest
public static interface DetectSyntaxRequest.Builder
extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<DetectSyntaxRequest.Builder,DetectSyntaxRequest>
-
Method Summary
Modifier and TypeMethodDescriptionlanguageCode
(String languageCode) The language code of the input documents.languageCode
(SyntaxLanguageCode languageCode) The language code 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 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 string. The maximum string size is 5 KB.
- Parameters:
text
- A UTF-8 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 code 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").
- Parameters:
languageCode
- The language code 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").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language code 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").
- Parameters:
languageCode
- The language code 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").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DetectSyntaxRequest.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
DetectSyntaxRequest.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.
-