public static interface S3DataSourceConfiguration.Builder extends SdkPojo, CopyableBuilder<S3DataSourceConfiguration.Builder,S3DataSourceConfiguration>
Modifier and Type | Method and Description |
---|---|
S3DataSourceConfiguration.Builder |
accessControlListConfiguration(AccessControlListConfiguration accessControlListConfiguration)
Provides the path to the S3 bucket that contains the user context filtering files for the data source.
|
default S3DataSourceConfiguration.Builder |
accessControlListConfiguration(Consumer<AccessControlListConfiguration.Builder> accessControlListConfiguration)
Provides the path to the S3 bucket that contains the user context filtering files for the data source.
|
S3DataSourceConfiguration.Builder |
bucketName(String bucketName)
The name of the bucket that contains the documents.
|
default S3DataSourceConfiguration.Builder |
documentsMetadataConfiguration(Consumer<DocumentsMetadataConfiguration.Builder> documentsMetadataConfiguration)
Sets the value of the DocumentsMetadataConfiguration property for this object.
|
S3DataSourceConfiguration.Builder |
documentsMetadataConfiguration(DocumentsMetadataConfiguration documentsMetadataConfiguration)
Sets the value of the DocumentsMetadataConfiguration property for this object.
|
S3DataSourceConfiguration.Builder |
exclusionPatterns(Collection<String> exclusionPatterns)
A list of glob patterns for documents that should not be indexed.
|
S3DataSourceConfiguration.Builder |
exclusionPatterns(String... exclusionPatterns)
A list of glob patterns for documents that should not be indexed.
|
S3DataSourceConfiguration.Builder |
inclusionPatterns(Collection<String> inclusionPatterns)
A list of glob patterns for documents that should be indexed.
|
S3DataSourceConfiguration.Builder |
inclusionPatterns(String... inclusionPatterns)
A list of glob patterns for documents that should be indexed.
|
S3DataSourceConfiguration.Builder |
inclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes for the documents that should be included in the index.
|
S3DataSourceConfiguration.Builder |
inclusionPrefixes(String... inclusionPrefixes)
A list of S3 prefixes for the documents that should be included in the index.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
S3DataSourceConfiguration.Builder bucketName(String bucketName)
The name of the bucket that contains the documents.
bucketName
- The name of the bucket that contains the documents.S3DataSourceConfiguration.Builder inclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes for the documents that should be included in the index.
inclusionPrefixes
- A list of S3 prefixes for the documents that should be included in the index.S3DataSourceConfiguration.Builder inclusionPrefixes(String... inclusionPrefixes)
A list of S3 prefixes for the documents that should be included in the index.
inclusionPrefixes
- A list of S3 prefixes for the documents that should be included in the index.S3DataSourceConfiguration.Builder inclusionPatterns(Collection<String> 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.
For more information about glob patterns, see glob (programming) in Wikipedia.
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.
For more information about glob patterns, see glob (programming) in Wikipedia.
S3DataSourceConfiguration.Builder inclusionPatterns(String... 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.
For more information about glob patterns, see glob (programming) in Wikipedia.
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.
For more information about glob patterns, see glob (programming) in Wikipedia.
S3DataSourceConfiguration.Builder exclusionPatterns(Collection<String> 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.
For more information about glob patterns, see glob (programming) in Wikipedia.
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.
For more information about glob patterns, see glob (programming) in Wikipedia.
S3DataSourceConfiguration.Builder exclusionPatterns(String... 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.
For more information about glob patterns, see glob (programming) in Wikipedia.
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.
For more information about glob patterns, see glob (programming) in Wikipedia.
S3DataSourceConfiguration.Builder documentsMetadataConfiguration(DocumentsMetadataConfiguration documentsMetadataConfiguration)
documentsMetadataConfiguration
- The new value for the DocumentsMetadataConfiguration property for this object.default S3DataSourceConfiguration.Builder documentsMetadataConfiguration(Consumer<DocumentsMetadataConfiguration.Builder> documentsMetadataConfiguration)
DocumentsMetadataConfiguration.Builder
avoiding
the need to create one manually via DocumentsMetadataConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
documentsMetadataConfiguration(DocumentsMetadataConfiguration)
.documentsMetadataConfiguration
- a consumer that will call methods on DocumentsMetadataConfiguration.Builder
documentsMetadataConfiguration(DocumentsMetadataConfiguration)
S3DataSourceConfiguration.Builder accessControlListConfiguration(AccessControlListConfiguration 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.
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.default S3DataSourceConfiguration.Builder accessControlListConfiguration(Consumer<AccessControlListConfiguration.Builder> 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 is a convenience that creates an instance of theAccessControlListConfiguration.Builder
avoiding
the need to create one manually via AccessControlListConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
accessControlListConfiguration(AccessControlListConfiguration)
.accessControlListConfiguration
- a consumer that will call methods on AccessControlListConfiguration.Builder
accessControlListConfiguration(AccessControlListConfiguration)
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.