public static interface CreateEntityRecognizerRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<CreateEntityRecognizerRequest.Builder,CreateEntityRecognizerRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateEntityRecognizerRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
CreateEntityRecognizerRequest.Builder |
dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend
read access to your input data.
|
default CreateEntityRecognizerRequest.Builder |
inputDataConfig(Consumer<EntityRecognizerInputDataConfig.Builder> inputDataConfig)
Specifies the format and location of the input data.
|
CreateEntityRecognizerRequest.Builder |
inputDataConfig(EntityRecognizerInputDataConfig inputDataConfig)
Specifies the format and location of the input data.
|
CreateEntityRecognizerRequest.Builder |
languageCode(LanguageCode languageCode)
The language of the input documents.
|
CreateEntityRecognizerRequest.Builder |
languageCode(String languageCode)
The language of the input documents.
|
CreateEntityRecognizerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateEntityRecognizerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateEntityRecognizerRequest.Builder |
recognizerName(String recognizerName)
The name given to the newly created recognizer.
|
buildoverrideConfigurationcopyapplyMutation, buildCreateEntityRecognizerRequest.Builder recognizerName(String recognizerName)
The name given to the newly created recognizer. Recognizer names can be a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The name must be unique in the account/region.
recognizerName - The name given to the newly created recognizer. Recognizer names can be a maximum of 256 characters.
Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The name must be unique in the
account/region.CreateEntityRecognizerRequest.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.
dataAccessRoleArn - The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon
Comprehend read access to your input data.CreateEntityRecognizerRequest.Builder inputDataConfig(EntityRecognizerInputDataConfig inputDataConfig)
Specifies the format and location of the input data. The S3 bucket containing the input data must be located in the same region as the entity recognizer being created.
inputDataConfig - Specifies the format and location of the input data. The S3 bucket containing the input data must be
located in the same region as the entity recognizer being created.default CreateEntityRecognizerRequest.Builder inputDataConfig(Consumer<EntityRecognizerInputDataConfig.Builder> inputDataConfig)
Specifies the format and location of the input data. The S3 bucket containing the input data must be located in the same region as the entity recognizer being created.
This is a convenience that creates an instance of theEntityRecognizerInputDataConfig.Builder
avoiding the need to create one manually via EntityRecognizerInputDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to inputDataConfig(EntityRecognizerInputDataConfig).inputDataConfig - a consumer that will call methods on EntityRecognizerInputDataConfig.BuilderinputDataConfig(EntityRecognizerInputDataConfig)CreateEntityRecognizerRequest.Builder clientRequestToken(String clientRequestToken)
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
clientRequestToken - A unique identifier for the request. If you don't set the client request token, Amazon Comprehend
generates one.CreateEntityRecognizerRequest.Builder languageCode(String languageCode)
The language of the input documents. All documents must be in the same language. Only English ("en") is currently supported.
languageCode - The language of the input documents. All documents must be in the same language. Only English ("en")
is currently supported.LanguageCode,
LanguageCodeCreateEntityRecognizerRequest.Builder languageCode(LanguageCode languageCode)
The language of the input documents. All documents must be in the same language. Only English ("en") is currently supported.
languageCode - The language of the input documents. All documents must be in the same language. Only English ("en")
is currently supported.LanguageCode,
LanguageCodeCreateEntityRecognizerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateEntityRecognizerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.