Class VocabularyState.Builder

  • Enclosing class:
    VocabularyState

    public static final class VocabularyState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public VocabularyState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the vocabulary.
        Returns:
        builder
      • arn

        public VocabularyState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the vocabulary.
        Returns:
        builder
      • content

        public VocabularyState.Builder content​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> content)
        Parameters:
        content - The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase, IPA, SoundsLike, and DisplayAs fields. Separate the fields with TAB characters. For more information, see [Create a custom vocabulary using a table](https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html#create-vocabulary-table). Minimum length of `1`. Maximum length of `60000`.
        Returns:
        builder
      • content

        public VocabularyState.Builder content​(java.lang.String content)
        Parameters:
        content - The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase, IPA, SoundsLike, and DisplayAs fields. Separate the fields with TAB characters. For more information, see [Create a custom vocabulary using a table](https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html#create-vocabulary-table). Minimum length of `1`. Maximum length of `60000`.
        Returns:
        builder
      • failureReason

        public VocabularyState.Builder failureReason​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> failureReason)
        Parameters:
        failureReason - The reason why the custom vocabulary was not created.
        Returns:
        builder
      • failureReason

        public VocabularyState.Builder failureReason​(java.lang.String failureReason)
        Parameters:
        failureReason - The reason why the custom vocabulary was not created.
        Returns:
        builder
      • instanceId

        public VocabularyState.Builder instanceId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> instanceId)
        Parameters:
        instanceId - Specifies the identifier of the hosting Amazon Connect Instance.
        Returns:
        builder
      • instanceId

        public VocabularyState.Builder instanceId​(java.lang.String instanceId)
        Parameters:
        instanceId - Specifies the identifier of the hosting Amazon Connect Instance.
        Returns:
        builder
      • languageCode

        public VocabularyState.Builder languageCode​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> languageCode)
        Parameters:
        languageCode - The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see [What is Amazon Transcribe?](https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html). Valid Values are `ar-AE`, `de-CH`, `de-DE`, `en-AB`, `en-AU`, `en-GB`, `en-IE`, `en-IN`, `en-US`, `en-WL`, `es-ES`, `es-US`, `fr-CA`, `fr-FR`, `hi-IN`, `it-IT`, `ja-JP`, `ko-KR`, `pt-BR`, `pt-PT`, `zh-CN`.
        Returns:
        builder
      • languageCode

        public VocabularyState.Builder languageCode​(java.lang.String languageCode)
        Parameters:
        languageCode - The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see [What is Amazon Transcribe?](https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html). Valid Values are `ar-AE`, `de-CH`, `de-DE`, `en-AB`, `en-AU`, `en-GB`, `en-IE`, `en-IN`, `en-US`, `en-WL`, `es-ES`, `es-US`, `fr-CA`, `fr-FR`, `hi-IN`, `it-IT`, `ja-JP`, `ko-KR`, `pt-BR`, `pt-PT`, `zh-CN`.
        Returns:
        builder
      • lastModifiedTime

        public VocabularyState.Builder lastModifiedTime​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> lastModifiedTime)
        Parameters:
        lastModifiedTime - The timestamp when the custom vocabulary was last modified.
        Returns:
        builder
      • lastModifiedTime

        public VocabularyState.Builder lastModifiedTime​(java.lang.String lastModifiedTime)
        Parameters:
        lastModifiedTime - The timestamp when the custom vocabulary was last modified.
        Returns:
        builder
      • name

        public VocabularyState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A unique name of the custom vocabulary. Must not be more than 140 characters.
        Returns:
        builder
      • name

        public VocabularyState.Builder name​(java.lang.String name)
        Parameters:
        name - A unique name of the custom vocabulary. Must not be more than 140 characters.
        Returns:
        builder
      • region

        public VocabularyState.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 VocabularyState.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
      • state

        public VocabularyState.Builder state​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - The current state of the custom vocabulary. Valid values are `CREATION_IN_PROGRESS`, `ACTIVE`, `CREATION_FAILED`, `DELETE_IN_PROGRESS`.
        Returns:
        builder
      • state

        public VocabularyState.Builder state​(java.lang.String state)
        Parameters:
        state - The current state of the custom vocabulary. Valid values are `CREATION_IN_PROGRESS`, `ACTIVE`, `CREATION_FAILED`, `DELETE_IN_PROGRESS`.
        Returns:
        builder
      • tags

        public VocabularyState.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Tags to apply to the vocabulary. 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 VocabularyState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Tags to apply to the vocabulary. 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 VocabularyState.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 VocabularyState.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
      • vocabularyId

        public VocabularyState.Builder vocabularyId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> vocabularyId)
        Parameters:
        vocabularyId - The identifier of the custom vocabulary.
        Returns:
        builder
      • vocabularyId

        public VocabularyState.Builder vocabularyId​(java.lang.String vocabularyId)
        Parameters:
        vocabularyId - The identifier of the custom vocabulary.
        Returns:
        builder