Class CfnEntityRecognizerPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnEntityRecognizerPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin>
- Enclosing class:
CfnEntityRecognizerPropsMixin
@Stability(Stable)
public static final class CfnEntityRecognizerPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin>
A fluent builder for
CfnEntityRecognizerPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) dataAccessRoleArn(String dataAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.inputDataConfig(CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty inputDataConfig) Specifies the format and location of the input data for an entity recognizer.inputDataConfig(IResolvable inputDataConfig) Specifies the format and location of the input data for an entity recognizer.languageCode(String languageCode) The language of the input documents.modelKmsKeyId(String modelKmsKeyId) ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models.modelPolicy(String modelPolicy) The JSON resource-based policy to attach to your custom entity recognizer model.recognizerName(String recognizerName) The name given to the entity recognizer.Tags to associate with the entity recognizer.versionName(String versionName) The version name given to the entity recognizer.volumeKmsKeyId(String volumeKmsKeyId) ID for the AWS KMS key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s).Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job.vpcConfig(IResolvable vpcConfig) Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job.
-
Method Details
-
create
@Stability(Stable) public static CfnEntityRecognizerPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEntityRecognizerPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEntityRecognizerPropsMixin.Builder.
-
dataAccessRoleArn
@Stability(Stable) public CfnEntityRecognizerPropsMixin.Builder dataAccessRoleArn(String dataAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.- Parameters:
dataAccessRoleArn- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. This parameter is required.- Returns:
this- See Also:
-
inputDataConfig
@Stability(Stable) public CfnEntityRecognizerPropsMixin.Builder inputDataConfig(IResolvable inputDataConfig) Specifies the format and location of the input data for an entity recognizer.- Parameters:
inputDataConfig- Specifies the format and location of the input data for an entity recognizer. This parameter is required.- Returns:
this- See Also:
-
inputDataConfig
@Stability(Stable) public CfnEntityRecognizerPropsMixin.Builder inputDataConfig(CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty inputDataConfig) Specifies the format and location of the input data for an entity recognizer.- Parameters:
inputDataConfig- Specifies the format and location of the input data for an entity recognizer. This parameter is required.- Returns:
this- See Also:
-
languageCode
The language of the input documents.All documents must be in the same language.
- Parameters:
languageCode- The language of the input documents. This parameter is required.- Returns:
this- See Also:
-
modelKmsKeyId
ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models.- Parameters:
modelKmsKeyId- ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models. This parameter is required.- Returns:
this- See Also:
-
modelPolicy
The JSON resource-based policy to attach to your custom entity recognizer model.- Parameters:
modelPolicy- The JSON resource-based policy to attach to your custom entity recognizer model. This parameter is required.- Returns:
this- See Also:
-
recognizerName
@Stability(Stable) public CfnEntityRecognizerPropsMixin.Builder recognizerName(String recognizerName) The name given to the entity recognizer.- Parameters:
recognizerName- The name given to the entity recognizer. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to associate with the entity recognizer.- Parameters:
tags- Tags to associate with the entity recognizer. This parameter is required.- Returns:
this- See Also:
-
versionName
The version name given to the entity recognizer.- Parameters:
versionName- The version name given to the entity recognizer. This parameter is required.- Returns:
this- See Also:
-
volumeKmsKeyId
@Stability(Stable) public CfnEntityRecognizerPropsMixin.Builder volumeKmsKeyId(String volumeKmsKeyId) ID for the AWS KMS key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s).- Parameters:
volumeKmsKeyId- ID for the AWS KMS key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s). This parameter is required.- Returns:
this- See Also:
-
vpcConfig
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job.- Parameters:
vpcConfig- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
@Stability(Stable) public CfnEntityRecognizerPropsMixin.Builder vpcConfig(CfnEntityRecognizerPropsMixin.VpcConfigProperty vpcConfig) Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job.- Parameters:
vpcConfig- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin>- Returns:
- a newly built instance of
CfnEntityRecognizerPropsMixin.
-