Class VocabularyArgs.Builder

  • Enclosing class:
    VocabularyArgs

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

      • Builder

        public Builder()
    • Method Detail

      • languageCode

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

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

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

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

        public VocabularyArgs.Builder phrases​(java.lang.String... phrases)
        Parameters:
        phrases - A list of terms to include in the vocabulary. Conflicts with `vocabulary_file_uri`
        Returns:
        builder
      • tags

        public VocabularyArgs.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 Vocabulary. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public VocabularyArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the Vocabulary. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • vocabularyFileUri

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

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

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

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