public static final class CfnDataSource.S3DataSourceConfigurationProperty.Builder
extends java.lang.Object
CfnDataSource.S3DataSourceConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnDataSource.S3DataSourceConfigurationProperty.Builder bucketName(java.lang.String bucketName)
CfnDataSource.S3DataSourceConfigurationProperty.getBucketName()
bucketName
- The name of the bucket that contains the documents. This parameter is required.this
public CfnDataSource.S3DataSourceConfigurationProperty.Builder accessControlListConfiguration(IResolvable accessControlListConfiguration)
CfnDataSource.S3DataSourceConfigurationProperty.getAccessControlListConfiguration()
accessControlListConfiguration
- 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 .this
public CfnDataSource.S3DataSourceConfigurationProperty.Builder accessControlListConfiguration(CfnDataSource.AccessControlListConfigurationProperty accessControlListConfiguration)
CfnDataSource.S3DataSourceConfigurationProperty.getAccessControlListConfiguration()
accessControlListConfiguration
- 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 .this
public CfnDataSource.S3DataSourceConfigurationProperty.Builder documentsMetadataConfiguration(IResolvable documentsMetadataConfiguration)
CfnDataSource.S3DataSourceConfigurationProperty.getDocumentsMetadataConfiguration()
documentsMetadataConfiguration
- Specifies 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.this
public CfnDataSource.S3DataSourceConfigurationProperty.Builder documentsMetadataConfiguration(CfnDataSource.DocumentsMetadataConfigurationProperty documentsMetadataConfiguration)
CfnDataSource.S3DataSourceConfigurationProperty.getDocumentsMetadataConfiguration()
documentsMetadataConfiguration
- Specifies 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.this
public CfnDataSource.S3DataSourceConfigurationProperty.Builder exclusionPatterns(java.util.List<java.lang.String> exclusionPatterns)
CfnDataSource.S3DataSourceConfigurationProperty.getExclusionPatterns()
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.
Some examples are:
this
public CfnDataSource.S3DataSourceConfigurationProperty.Builder inclusionPatterns(java.util.List<java.lang.String> inclusionPatterns)
CfnDataSource.S3DataSourceConfigurationProperty.getInclusionPatterns()
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.
Some examples are:
this
public CfnDataSource.S3DataSourceConfigurationProperty.Builder inclusionPrefixes(java.util.List<java.lang.String> inclusionPrefixes)
CfnDataSource.S3DataSourceConfigurationProperty.getInclusionPrefixes()
inclusionPrefixes
- A list of S3 prefixes for the documents that should be included in the index.this
public CfnDataSource.S3DataSourceConfigurationProperty build()
CfnDataSource.S3DataSourceConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided