public static interface StartDocumentClassificationJobRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<StartDocumentClassificationJobRequest.Builder,StartDocumentClassificationJobRequest>
Modifier and Type | Method and Description |
---|---|
StartDocumentClassificationJobRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
StartDocumentClassificationJobRequest.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.
|
StartDocumentClassificationJobRequest.Builder |
documentClassifierArn(String documentClassifierArn)
The Amazon Resource Name (ARN) of the document classifier to use to process the job.
|
default StartDocumentClassificationJobRequest.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartDocumentClassificationJobRequest.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartDocumentClassificationJobRequest.Builder |
jobName(String jobName)
The identifier of the job.
|
default StartDocumentClassificationJobRequest.Builder |
outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Specifies where to send the output files.
|
StartDocumentClassificationJobRequest.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
StartDocumentClassificationJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
StartDocumentClassificationJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
StartDocumentClassificationJobRequest.Builder jobName(String jobName)
The identifier of the job.
jobName
- The identifier of the job.StartDocumentClassificationJobRequest.Builder documentClassifierArn(String documentClassifierArn)
The Amazon Resource Name (ARN) of the document classifier to use to process the job.
documentClassifierArn
- The Amazon Resource Name (ARN) of the document classifier to use to process the job.StartDocumentClassificationJobRequest.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 StartDocumentClassificationJobRequest.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)
StartDocumentClassificationJobRequest.Builder outputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
outputDataConfig
- Specifies where to send the output files.default StartDocumentClassificationJobRequest.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)
StartDocumentClassificationJobRequest.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.
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.StartDocumentClassificationJobRequest.Builder clientRequestToken(String clientRequestToken)
A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one.
clientRequestToken
- A unique identifier for the request. If you do not set the client request token, Amazon Comprehend
generates one.StartDocumentClassificationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartDocumentClassificationJobRequest.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.