public static interface StartKeyPhrasesDetectionJobRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<StartKeyPhrasesDetectionJobRequest.Builder,StartKeyPhrasesDetectionJobRequest>
Modifier and Type | Method and Description |
---|---|
StartKeyPhrasesDetectionJobRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
StartKeyPhrasesDetectionJobRequest.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.
|
default StartKeyPhrasesDetectionJobRequest.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartKeyPhrasesDetectionJobRequest.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartKeyPhrasesDetectionJobRequest.Builder |
jobName(String jobName)
The identifier of the job.
|
StartKeyPhrasesDetectionJobRequest.Builder |
languageCode(LanguageCode languageCode)
The language of the input documents.
|
StartKeyPhrasesDetectionJobRequest.Builder |
languageCode(String languageCode)
The language of the input documents.
|
default StartKeyPhrasesDetectionJobRequest.Builder |
outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Specifies where to send the output files.
|
StartKeyPhrasesDetectionJobRequest.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
StartKeyPhrasesDetectionJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
StartKeyPhrasesDetectionJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
StartKeyPhrasesDetectionJobRequest.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 StartKeyPhrasesDetectionJobRequest.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)
StartKeyPhrasesDetectionJobRequest.Builder outputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
outputDataConfig
- Specifies where to send the output files.default StartKeyPhrasesDetectionJobRequest.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)
StartKeyPhrasesDetectionJobRequest.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.StartKeyPhrasesDetectionJobRequest.Builder jobName(String jobName)
The identifier of the job.
jobName
- The identifier of the job.StartKeyPhrasesDetectionJobRequest.Builder languageCode(String languageCode)
The language of the input documents. You can specify English ("en") or Spanish ("es"). All documents must be in the same language.
languageCode
- The language of the input documents. You can specify English ("en") or Spanish ("es"). All documents
must be in the same language.LanguageCode
,
LanguageCode
StartKeyPhrasesDetectionJobRequest.Builder languageCode(LanguageCode languageCode)
The language of the input documents. You can specify English ("en") or Spanish ("es"). All documents must be in the same language.
languageCode
- The language of the input documents. You can specify English ("en") or Spanish ("es"). All documents
must be in the same language.LanguageCode
,
LanguageCode
StartKeyPhrasesDetectionJobRequest.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.StartKeyPhrasesDetectionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartKeyPhrasesDetectionJobRequest.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.