public static interface StartEntitiesDetectionJobRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<StartEntitiesDetectionJobRequest.Builder,StartEntitiesDetectionJobRequest>
Modifier and Type | Method and Description |
---|---|
StartEntitiesDetectionJobRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
StartEntitiesDetectionJobRequest.Builder |
dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon
Comprehend read access to your input data.
|
StartEntitiesDetectionJobRequest.Builder |
entityRecognizerArn(String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob . |
default StartEntitiesDetectionJobRequest.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartEntitiesDetectionJobRequest.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartEntitiesDetectionJobRequest.Builder |
jobName(String jobName)
The identifier of the job.
|
StartEntitiesDetectionJobRequest.Builder |
languageCode(LanguageCode languageCode)
The language of the input documents.
|
StartEntitiesDetectionJobRequest.Builder |
languageCode(String languageCode)
The language of the input documents.
|
default StartEntitiesDetectionJobRequest.Builder |
outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Specifies where to send the output files.
|
StartEntitiesDetectionJobRequest.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
StartEntitiesDetectionJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
StartEntitiesDetectionJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
StartEntitiesDetectionJobRequest.Builder inputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
inputDataConfig
- Specifies the format and location of the input data for the job.default StartEntitiesDetectionJobRequest.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Specifies the format and location of the input data for the job.
This is a convenience that creates an instance of theInputDataConfig.Builder
avoiding the need to
create one manually via InputDataConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to inputDataConfig(InputDataConfig)
.inputDataConfig
- a consumer that will call methods on InputDataConfig.Builder
inputDataConfig(InputDataConfig)
StartEntitiesDetectionJobRequest.Builder outputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
outputDataConfig
- Specifies where to send the output files.default StartEntitiesDetectionJobRequest.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Specifies where to send the output files.
This is a convenience that creates an instance of theOutputDataConfig.Builder
avoiding the need to
create one manually via OutputDataConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to outputDataConfig(OutputDataConfig)
.outputDataConfig
- a consumer that will call methods on OutputDataConfig.Builder
outputDataConfig(OutputDataConfig)
StartEntitiesDetectionJobRequest.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role- permissions.
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon
Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-
permissions.StartEntitiesDetectionJobRequest.Builder jobName(String jobName)
The identifier of the job.
jobName
- The identifier of the job.StartEntitiesDetectionJobRequest.Builder entityRecognizerArn(String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob
. This ARN is optional and is only used for a custom entity recognition
job.
entityRecognizerArn
- The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob
. This ARN is optional and is only used for a custom entity
recognition job.StartEntitiesDetectionJobRequest.Builder languageCode(String languageCode)
The language of the input documents. All documents must be in the same language. You can specify any of the languages supported by Amazon Comprehend: English ("en"), Spanish ("es"), French ("fr"), German ("de"), Italian ("it"), or Portuguese ("pt"). If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.
languageCode
- The language of the input documents. All documents must be in the same language. You can specify any
of the languages supported by Amazon Comprehend: English ("en"), Spanish ("es"), French ("fr"), German
("de"), Italian ("it"), or Portuguese ("pt"). If custom entities recognition is used, this parameter
is ignored and the language used for training the model is used instead.LanguageCode
,
LanguageCode
StartEntitiesDetectionJobRequest.Builder languageCode(LanguageCode languageCode)
The language of the input documents. All documents must be in the same language. You can specify any of the languages supported by Amazon Comprehend: English ("en"), Spanish ("es"), French ("fr"), German ("de"), Italian ("it"), or Portuguese ("pt"). If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.
languageCode
- The language of the input documents. All documents must be in the same language. You can specify any
of the languages supported by Amazon Comprehend: English ("en"), Spanish ("es"), French ("fr"), German
("de"), Italian ("it"), or Portuguese ("pt"). If custom entities recognition is used, this parameter
is ignored and the language used for training the model is used instead.LanguageCode
,
LanguageCode
StartEntitiesDetectionJobRequest.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.StartEntitiesDetectionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartEntitiesDetectionJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.