Class DocumentClassifierState.Builder

  • Enclosing class:
    DocumentClassifierState

    public static final class DocumentClassifierState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public DocumentClassifierState.Builder arn​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Document Classifier version.
        Returns:
        builder
      • dataAccessRoleArn

        public DocumentClassifierState.Builder dataAccessRoleArn​(@Nullable
                                                                 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 DocumentClassifierState.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
      • languageCode

        public DocumentClassifierState.Builder languageCode​(@Nullable
                                                            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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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
      • region

        public DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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
      • tagsAll

        public DocumentClassifierState.Builder tagsAll​(@Nullable
                                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public DocumentClassifierState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • versionName

        public DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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 DocumentClassifierState.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