Interface StartEntitiesDetectionJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<StartEntitiesDetectionJobRequest.Builder,StartEntitiesDetectionJobRequest>,SdkBuilder<StartEntitiesDetectionJobRequest.Builder,StartEntitiesDetectionJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartEntitiesDetectionJobRequest
public static interface StartEntitiesDetectionJobRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<StartEntitiesDetectionJobRequest.Builder,StartEntitiesDetectionJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartEntitiesDetectionJobRequest.BuilderclientRequestToken(String clientRequestToken)A unique identifier for the request.StartEntitiesDetectionJobRequest.BuilderdataAccessRoleArn(String dataAccessRoleArn)The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.StartEntitiesDetectionJobRequest.BuilderentityRecognizerArn(String entityRecognizerArn)The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by theStartEntitiesDetectionJob.StartEntitiesDetectionJobRequest.BuilderflywheelArn(String flywheelArn)The Amazon Resource Number (ARN) of the flywheel associated with the model to use.default StartEntitiesDetectionJobRequest.BuilderinputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)Specifies the format and location of the input data for the job.StartEntitiesDetectionJobRequest.BuilderinputDataConfig(InputDataConfig inputDataConfig)Specifies the format and location of the input data for the job.StartEntitiesDetectionJobRequest.BuilderjobName(String jobName)The identifier of the job.StartEntitiesDetectionJobRequest.BuilderlanguageCode(String languageCode)The language of the input documents.StartEntitiesDetectionJobRequest.BuilderlanguageCode(LanguageCode languageCode)The language of the input documents.default StartEntitiesDetectionJobRequest.BuilderoutputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)Specifies where to send the output files.StartEntitiesDetectionJobRequest.BuilderoutputDataConfig(OutputDataConfig outputDataConfig)Specifies where to send the output files.StartEntitiesDetectionJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartEntitiesDetectionJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartEntitiesDetectionJobRequest.Buildertags(Collection<Tag> tags)Tags to associate with the entities detection job.StartEntitiesDetectionJobRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags to associate with the entities detection job.StartEntitiesDetectionJobRequest.Buildertags(Tag... tags)Tags to associate with the entities detection job.StartEntitiesDetectionJobRequest.BuildervolumeKmsKeyId(String volumeKmsKeyId)ID for the Amazon Web Services 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 StartEntitiesDetectionJobRequest.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job.StartEntitiesDetectionJobRequest.BuildervpcConfig(VpcConfig vpcConfig)Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
inputDataConfig
StartEntitiesDetectionJobRequest.Builder inputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
- Parameters:
inputDataConfig- Specifies the format and location of the input data for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
default StartEntitiesDetectionJobRequest.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Specifies the format and location of the input data for the job.
This is a convenience method that creates an instance of theInputDataConfig.Builderavoiding the need to create one manually viaInputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputDataConfig(InputDataConfig).- Parameters:
inputDataConfig- a consumer that will call methods onInputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inputDataConfig(InputDataConfig)
-
outputDataConfig
StartEntitiesDetectionJobRequest.Builder outputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
- Parameters:
outputDataConfig- Specifies where to send the output files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default StartEntitiesDetectionJobRequest.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Specifies where to send the output files.
This is a convenience method that creates an instance of theOutputDataConfig.Builderavoiding the need to create one manually viaOutputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputDataConfig(OutputDataConfig).- Parameters:
outputDataConfig- a consumer that will call methods onOutputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputDataConfig(OutputDataConfig)
-
dataAccessRoleArn
StartEntitiesDetectionJobRequest.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. For more information, see Role-based permissions.
- Parameters:
dataAccessRoleArn- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. For more information, see Role-based permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
StartEntitiesDetectionJobRequest.Builder jobName(String jobName)
The identifier of the job.
- Parameters:
jobName- The identifier of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityRecognizerArn
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.- Parameters:
entityRecognizerArn- The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by theStartEntitiesDetectionJob. This ARN is optional and is only used for a custom entity recognition job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
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. If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.
- Parameters:
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. If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,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. If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.
- Parameters:
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. If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,LanguageCode
-
clientRequestToken
StartEntitiesDetectionJobRequest.Builder clientRequestToken(String clientRequestToken)
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
- Parameters:
clientRequestToken- A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeKmsKeyId
StartEntitiesDetectionJobRequest.Builder volumeKmsKeyId(String volumeKmsKeyId)
ID for the Amazon Web Services 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"
- Parameters:
volumeKmsKeyId- ID for the Amazon Web Services 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"
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
vpcConfig
StartEntitiesDetectionJobRequest.Builder vpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC.
- Parameters:
vpcConfig- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default StartEntitiesDetectionJobRequest.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfig)
-
tags
StartEntitiesDetectionJobRequest.Builder tags(Collection<Tag> tags)
Tags to associate with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
- Parameters:
tags- Tags to associate with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StartEntitiesDetectionJobRequest.Builder tags(Tag... tags)
Tags to associate with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
- Parameters:
tags- Tags to associate with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StartEntitiesDetectionJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to associate with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
flywheelArn
StartEntitiesDetectionJobRequest.Builder flywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel associated with the model to use.
- Parameters:
flywheelArn- The Amazon Resource Number (ARN) of the flywheel associated with the model to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartEntitiesDetectionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartEntitiesDetectionJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-