Package com.pulumi.aws.comprehend
Class DocumentClassifierArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.comprehend.DocumentClassifierArgs.Builder
-
- Enclosing class:
- DocumentClassifierArgs
public static final class DocumentClassifierArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DocumentClassifierArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DocumentClassifierArgs defaults)
-
-
Method Detail
-
dataAccessRoleArn
public DocumentClassifierArgs.Builder dataAccessRoleArn(com.pulumi.core.Output<java.lang.String> dataAccessRoleArn)
- Parameters:
dataAccessRoleArn- The ARN for an IAM Role which allows Comprehend to read the training and testing data.- Returns:
- builder
-
dataAccessRoleArn
public DocumentClassifierArgs.Builder dataAccessRoleArn(java.lang.String dataAccessRoleArn)
- Parameters:
dataAccessRoleArn- The ARN for an IAM Role which allows Comprehend to read the training and testing data.- Returns:
- builder
-
inputDataConfig
public DocumentClassifierArgs.Builder inputDataConfig(com.pulumi.core.Output<DocumentClassifierInputDataConfigArgs> inputDataConfig)
- Parameters:
inputDataConfig- Configuration for the training and testing data. See the `inputDataConfig` Configuration Block section below.- Returns:
- builder
-
inputDataConfig
public DocumentClassifierArgs.Builder inputDataConfig(DocumentClassifierInputDataConfigArgs inputDataConfig)
- Parameters:
inputDataConfig- Configuration for the training and testing data. See the `inputDataConfig` Configuration Block section below.- Returns:
- builder
-
languageCode
public DocumentClassifierArgs.Builder languageCode(com.pulumi.core.Output<java.lang.String> languageCode)
- Parameters:
languageCode- Two-letter language code for the language. One of `en`, `es`, `fr`, `it`, `de`, or `pt`.- Returns:
- builder
-
languageCode
public DocumentClassifierArgs.Builder languageCode(java.lang.String languageCode)
- Parameters:
languageCode- Two-letter language code for the language. One of `en`, `es`, `fr`, `it`, `de`, or `pt`.- Returns:
- builder
-
mode
public DocumentClassifierArgs.Builder mode(@Nullable com.pulumi.core.Output<java.lang.String> mode)
- Parameters:
mode- The document classification mode. One of `MULTI_CLASS` or `MULTI_LABEL`. `MULTI_CLASS` is also known as "Single Label" in the AWS Console.- Returns:
- builder
-
mode
public DocumentClassifierArgs.Builder mode(java.lang.String mode)
- Parameters:
mode- The document classification mode. One of `MULTI_CLASS` or `MULTI_LABEL`. `MULTI_CLASS` is also known as "Single Label" in the AWS Console.- Returns:
- builder
-
modelKmsKeyId
public DocumentClassifierArgs.Builder modelKmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> modelKmsKeyId)
- Parameters:
modelKmsKeyId- KMS Key used to encrypt trained Document Classifiers. Can be a KMS Key ID or a KMS Key ARN.- Returns:
- builder
-
modelKmsKeyId
public DocumentClassifierArgs.Builder modelKmsKeyId(java.lang.String modelKmsKeyId)
- Parameters:
modelKmsKeyId- KMS Key used to encrypt trained Document Classifiers. Can be a KMS Key ID or a KMS Key ARN.- Returns:
- builder
-
name
public DocumentClassifierArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name for the Document Classifier. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hyphen (`-`). The following arguments are optional:- Returns:
- builder
-
name
public DocumentClassifierArgs.Builder name(java.lang.String name)
- Parameters:
name- Name for the Document Classifier. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hyphen (`-`). The following arguments are optional:- Returns:
- builder
-
outputDataConfig
public DocumentClassifierArgs.Builder outputDataConfig(@Nullable com.pulumi.core.Output<DocumentClassifierOutputDataConfigArgs> outputDataConfig)
- Parameters:
outputDataConfig- Configuration for the output results of training. See the `outputDataConfig` Configuration Block section below.- Returns:
- builder
-
outputDataConfig
public DocumentClassifierArgs.Builder outputDataConfig(DocumentClassifierOutputDataConfigArgs outputDataConfig)
- Parameters:
outputDataConfig- Configuration for the output results of training. See the `outputDataConfig` Configuration Block section below.- Returns:
- builder
-
region
public DocumentClassifierArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public DocumentClassifierArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
tags
public DocumentClassifierArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public DocumentClassifierArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
versionName
public DocumentClassifierArgs.Builder versionName(@Nullable com.pulumi.core.Output<java.lang.String> versionName)
- Parameters:
versionName- Name for the version of the Document Classifier. Each version must have a unique name within the Document Classifier. If omitted, the provider will assign a random, unique version name. If explicitly set to `""`, no version name will be set. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hyphen (`-`). Conflicts with `versionNamePrefix`.- Returns:
- builder
-
versionName
public DocumentClassifierArgs.Builder versionName(java.lang.String versionName)
- Parameters:
versionName- Name for the version of the Document Classifier. Each version must have a unique name within the Document Classifier. If omitted, the provider will assign a random, unique version name. If explicitly set to `""`, no version name will be set. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hyphen (`-`). Conflicts with `versionNamePrefix`.- Returns:
- builder
-
versionNamePrefix
public DocumentClassifierArgs.Builder versionNamePrefix(@Nullable com.pulumi.core.Output<java.lang.String> versionNamePrefix)
- Parameters:
versionNamePrefix- Creates a unique version name beginning with the specified prefix. Has a maximum length of 37 characters. Can contain upper- and lower-case letters, numbers, and hyphen (`-`). Conflicts with `versionName`.- Returns:
- builder
-
versionNamePrefix
public DocumentClassifierArgs.Builder versionNamePrefix(java.lang.String versionNamePrefix)
- Parameters:
versionNamePrefix- Creates a unique version name beginning with the specified prefix. Has a maximum length of 37 characters. Can contain upper- and lower-case letters, numbers, and hyphen (`-`). Conflicts with `versionName`.- Returns:
- builder
-
volumeKmsKeyId
public DocumentClassifierArgs.Builder volumeKmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> volumeKmsKeyId)
- Parameters:
volumeKmsKeyId- KMS Key used to encrypt storage volumes during job processing. Can be a KMS Key ID or a KMS Key ARN.- Returns:
- builder
-
volumeKmsKeyId
public DocumentClassifierArgs.Builder volumeKmsKeyId(java.lang.String volumeKmsKeyId)
- Parameters:
volumeKmsKeyId- KMS Key used to encrypt storage volumes during job processing. Can be a KMS Key ID or a KMS Key ARN.- Returns:
- builder
-
vpcConfig
public DocumentClassifierArgs.Builder vpcConfig(@Nullable com.pulumi.core.Output<DocumentClassifierVpcConfigArgs> vpcConfig)
- Parameters:
vpcConfig- Configuration parameters for VPC to contain Document Classifier resources. See the `vpcConfig` Configuration Block section below.- Returns:
- builder
-
vpcConfig
public DocumentClassifierArgs.Builder vpcConfig(DocumentClassifierVpcConfigArgs vpcConfig)
- Parameters:
vpcConfig- Configuration parameters for VPC to contain Document Classifier resources. See the `vpcConfig` Configuration Block section below.- Returns:
- builder
-
build
public DocumentClassifierArgs build()
-
-