Package com.pulumi.aws.kendra.inputs
Class DataSourceConfigurationS3ConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.kendra.inputs.DataSourceConfigurationS3ConfigurationArgs.Builder
-
- Enclosing class:
- DataSourceConfigurationS3ConfigurationArgs
public static final class DataSourceConfigurationS3ConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DataSourceConfigurationS3ConfigurationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DataSourceConfigurationS3ConfigurationArgs defaults)
-
-
Method Detail
-
accessControlListConfiguration
public DataSourceConfigurationS3ConfigurationArgs.Builder accessControlListConfiguration(@Nullable com.pulumi.core.Output<DataSourceConfigurationS3ConfigurationAccessControlListConfigurationArgs> accessControlListConfiguration)
- Parameters:
accessControlListConfiguration
- A block that provides the path to the S3 bucket that contains the user context filtering files for the data source. For the format of the file, see [Access control for S3 data sources](https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html). Detailed below.- Returns:
- builder
-
accessControlListConfiguration
public DataSourceConfigurationS3ConfigurationArgs.Builder accessControlListConfiguration(DataSourceConfigurationS3ConfigurationAccessControlListConfigurationArgs accessControlListConfiguration)
- Parameters:
accessControlListConfiguration
- A block that provides the path to the S3 bucket that contains the user context filtering files for the data source. For the format of the file, see [Access control for S3 data sources](https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html). Detailed below.- Returns:
- builder
-
bucketName
public DataSourceConfigurationS3ConfigurationArgs.Builder bucketName(com.pulumi.core.Output<java.lang.String> bucketName)
- Parameters:
bucketName
- The name of the bucket that contains the documents.- Returns:
- builder
-
bucketName
public DataSourceConfigurationS3ConfigurationArgs.Builder bucketName(java.lang.String bucketName)
- Parameters:
bucketName
- The name of the bucket that contains the documents.- Returns:
- builder
-
documentsMetadataConfiguration
public DataSourceConfigurationS3ConfigurationArgs.Builder documentsMetadataConfiguration(@Nullable com.pulumi.core.Output<DataSourceConfigurationS3ConfigurationDocumentsMetadataConfigurationArgs> documentsMetadataConfiguration)
- Parameters:
documentsMetadataConfiguration
- A block that defines the Document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes. Each metadata file contains metadata about a single document. Detailed below.- Returns:
- builder
-
documentsMetadataConfiguration
public DataSourceConfigurationS3ConfigurationArgs.Builder documentsMetadataConfiguration(DataSourceConfigurationS3ConfigurationDocumentsMetadataConfigurationArgs documentsMetadataConfiguration)
- Parameters:
documentsMetadataConfiguration
- A block that defines the Document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes. Each metadata file contains metadata about a single document. Detailed below.- Returns:
- builder
-
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
-
build
public DataSourceConfigurationS3ConfigurationArgs build()
-
-