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
      • downloadUri

        public VocabularyState.Builder downloadUri​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> downloadUri)
        Parameters:
        downloadUri - Generated download URI.
        Returns:
        builder
      • downloadUri

        public VocabularyState.Builder downloadUri​(java.lang.String downloadUri)
        Parameters:
        downloadUri - Generated download URI.
        Returns:
        builder
      • languageCode

        public VocabularyState.Builder languageCode​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> languageCode)
        Parameters:
        languageCode - Language code you selected for your vocabulary.
        Returns:
        builder
      • languageCode

        public VocabularyState.Builder languageCode​(java.lang.String languageCode)
        Parameters:
        languageCode - Language code you selected for your vocabulary.
        Returns:
        builder
      • phrases

        public VocabularyState.Builder phrases​(@Nullable
                                               com.pulumi.core.Output<java.util.List<java.lang.String>> phrases)
        Parameters:
        phrases - List of terms to include in the vocabulary. Conflicts with `vocabularyFileUri`
        Returns:
        builder
      • phrases

        public VocabularyState.Builder phrases​(java.util.List<java.lang.String> phrases)
        Parameters:
        phrases - List of terms to include in the vocabulary. Conflicts with `vocabularyFileUri`
        Returns:
        builder
      • phrases

        public VocabularyState.Builder phrases​(java.lang.String... phrases)
        Parameters:
        phrases - List of terms to include in the vocabulary. Conflicts with `vocabularyFileUri`
        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
      • tags

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

        public VocabularyState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
      • vocabularyFileUri

        public VocabularyState.Builder vocabularyFileUri​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> vocabularyFileUri)
        Parameters:
        vocabularyFileUri - Amazon S3 location (URI) of the text file that contains your custom vocabulary. Conflicts wth `phrases`.
        Returns:
        builder
      • vocabularyFileUri

        public VocabularyState.Builder vocabularyFileUri​(java.lang.String vocabularyFileUri)
        Parameters:
        vocabularyFileUri - Amazon S3 location (URI) of the text file that contains your custom vocabulary. Conflicts wth `phrases`.
        Returns:
        builder
      • vocabularyName

        public VocabularyState.Builder vocabularyName​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> vocabularyName)
        Parameters:
        vocabularyName - Name of the Vocabulary. The following arguments are optional:
        Returns:
        builder
      • vocabularyName

        public VocabularyState.Builder vocabularyName​(java.lang.String vocabularyName)
        Parameters:
        vocabularyName - Name of the Vocabulary. The following arguments are optional:
        Returns:
        builder