public static interface StartSentimentDetectionJobRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<StartSentimentDetectionJobRequest.Builder,StartSentimentDetectionJobRequest>
Modifier and Type | Method and Description |
---|---|
StartSentimentDetectionJobRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
StartSentimentDetectionJobRequest.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 StartSentimentDetectionJobRequest.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartSentimentDetectionJobRequest.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartSentimentDetectionJobRequest.Builder |
jobName(String jobName)
The identifier of the job.
|
StartSentimentDetectionJobRequest.Builder |
languageCode(LanguageCode languageCode)
The language of the input documents.
|
StartSentimentDetectionJobRequest.Builder |
languageCode(String languageCode)
The language of the input documents.
|
default StartSentimentDetectionJobRequest.Builder |
outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Specifies where to send the output files.
|
StartSentimentDetectionJobRequest.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
StartSentimentDetectionJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
StartSentimentDetectionJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
StartSentimentDetectionJobRequest.Builder |
volumeKmsKeyId(String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage
volume attached to the ML compute instance(s) that process the analysis job.
|
default StartSentimentDetectionJobRequest.Builder |
vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are
using for your sentiment detection job.
|
StartSentimentDetectionJobRequest.Builder |
vpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are
using for your sentiment detection job.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
StartSentimentDetectionJobRequest.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 StartSentimentDetectionJobRequest.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)
StartSentimentDetectionJobRequest.Builder outputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
outputDataConfig
- Specifies where to send the output files.default StartSentimentDetectionJobRequest.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)
StartSentimentDetectionJobRequest.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.StartSentimentDetectionJobRequest.Builder jobName(String jobName)
The identifier of the job.
jobName
- The identifier of the job.StartSentimentDetectionJobRequest.Builder languageCode(String languageCode)
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
languageCode
- The language of the input documents. You can specify any of the primary languages supported by Amazon
Comprehend. All documents must be in the same language.LanguageCode
,
LanguageCode
StartSentimentDetectionJobRequest.Builder languageCode(LanguageCode languageCode)
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
languageCode
- The language of the input documents. You can specify any of the primary languages supported by Amazon
Comprehend. All documents must be in the same language.LanguageCode
,
LanguageCode
StartSentimentDetectionJobRequest.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.StartSentimentDetectionJobRequest.Builder volumeKmsKeyId(String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
volumeKmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the
storage volume attached to the ML compute instance(s) that process the analysis job. The
VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
StartSentimentDetectionJobRequest.Builder vpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment detection job. For more information, see Amazon VPC.
vpcConfig
- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources
you are using for your sentiment detection job. For more information, see Amazon VPC.default StartSentimentDetectionJobRequest.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment detection job. For more information, see Amazon VPC.
This is a convenience that creates an instance of theVpcConfig.Builder
avoiding the need to create
one manually via VpcConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to vpcConfig(VpcConfig)
.vpcConfig
- a consumer that will call methods on VpcConfig.Builder
vpcConfig(VpcConfig)
StartSentimentDetectionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartSentimentDetectionJobRequest.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 © 2021 Amazon Web Services, Inc. All Rights Reserved.