S3DataSourceConfiguration class

Provides configuration information for a data source to index documents in an Amazon S3 bucket.

Constructors

S3DataSourceConfiguration({required String bucketName, AccessControlListConfiguration? accessControlListConfiguration, DocumentsMetadataConfiguration? documentsMetadataConfiguration, List<String>? exclusionPatterns, List<String>? inclusionPatterns, List<String>? inclusionPrefixes})
S3DataSourceConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

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.
final
bucketName String
The name of the bucket that contains the documents.
final
documentsMetadataConfiguration DocumentsMetadataConfiguration?
final
exclusionPatterns List<String>?
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.
final
hashCode int
The hash code for this object.
no setterinherited
inclusionPatterns List<String>?
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.
final
inclusionPrefixes List<String>?
A list of S3 prefixes for the documents that should be included in the index.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited