Class DataSourceConfigurationS3ConfigurationArgs.Builder

    • Method Detail

      • exclusionPatterns

        public DataSourceConfigurationS3ConfigurationArgs.Builder exclusionPatterns​(@Nullable
                                                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> exclusionPatterns)
        Parameters:
        exclusionPatterns - A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix or inclusion pattern also matches an exclusion pattern, the document is not indexed. Refer to [Exclusion Patterns for more examples](https://docs.aws.amazon.com/kendra/latest/dg/API_S3DataSourceConfiguration.html#Kendra-Type-S3DataSourceConfiguration-ExclusionPatterns).
        Returns:
        builder
      • exclusionPatterns

        public DataSourceConfigurationS3ConfigurationArgs.Builder exclusionPatterns​(java.util.List<java.lang.String> exclusionPatterns)
        Parameters:
        exclusionPatterns - A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix or inclusion pattern also matches an exclusion pattern, the document is not indexed. Refer to [Exclusion Patterns for more examples](https://docs.aws.amazon.com/kendra/latest/dg/API_S3DataSourceConfiguration.html#Kendra-Type-S3DataSourceConfiguration-ExclusionPatterns).
        Returns:
        builder
      • exclusionPatterns

        public DataSourceConfigurationS3ConfigurationArgs.Builder exclusionPatterns​(java.lang.String... exclusionPatterns)
        Parameters:
        exclusionPatterns - A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix or inclusion pattern also matches an exclusion pattern, the document is not indexed. Refer to [Exclusion Patterns for more examples](https://docs.aws.amazon.com/kendra/latest/dg/API_S3DataSourceConfiguration.html#Kendra-Type-S3DataSourceConfiguration-ExclusionPatterns).
        Returns:
        builder
      • inclusionPatterns

        public DataSourceConfigurationS3ConfigurationArgs.Builder inclusionPatterns​(@Nullable
                                                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> inclusionPatterns)
        Parameters:
        inclusionPatterns - A list of glob patterns for documents that should be indexed. If a document that matches an inclusion pattern also matches an exclusion pattern, the document is not indexed. Refer to [Inclusion Patterns for more examples](https://docs.aws.amazon.com/kendra/latest/dg/API_S3DataSourceConfiguration.html#Kendra-Type-S3DataSourceConfiguration-InclusionPatterns).
        Returns:
        builder
      • inclusionPatterns

        public DataSourceConfigurationS3ConfigurationArgs.Builder inclusionPatterns​(java.util.List<java.lang.String> inclusionPatterns)
        Parameters:
        inclusionPatterns - A list of glob patterns for documents that should be indexed. If a document that matches an inclusion pattern also matches an exclusion pattern, the document is not indexed. Refer to [Inclusion Patterns for more examples](https://docs.aws.amazon.com/kendra/latest/dg/API_S3DataSourceConfiguration.html#Kendra-Type-S3DataSourceConfiguration-InclusionPatterns).
        Returns:
        builder
      • inclusionPatterns

        public DataSourceConfigurationS3ConfigurationArgs.Builder inclusionPatterns​(java.lang.String... inclusionPatterns)
        Parameters:
        inclusionPatterns - A list of glob patterns for documents that should be indexed. If a document that matches an inclusion pattern also matches an exclusion pattern, the document is not indexed. Refer to [Inclusion Patterns for more examples](https://docs.aws.amazon.com/kendra/latest/dg/API_S3DataSourceConfiguration.html#Kendra-Type-S3DataSourceConfiguration-InclusionPatterns).
        Returns:
        builder
      • inclusionPrefixes

        public DataSourceConfigurationS3ConfigurationArgs.Builder inclusionPrefixes​(@Nullable
                                                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> inclusionPrefixes)
        Parameters:
        inclusionPrefixes - A list of S3 prefixes for the documents that should be included in the index.
        Returns:
        builder
      • inclusionPrefixes

        public DataSourceConfigurationS3ConfigurationArgs.Builder inclusionPrefixes​(java.util.List<java.lang.String> inclusionPrefixes)
        Parameters:
        inclusionPrefixes - A list of S3 prefixes for the documents that should be included in the index.
        Returns:
        builder
      • inclusionPrefixes

        public DataSourceConfigurationS3ConfigurationArgs.Builder inclusionPrefixes​(java.lang.String... inclusionPrefixes)
        Parameters:
        inclusionPrefixes - A list of S3 prefixes for the documents that should be included in the index.
        Returns:
        builder