@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3DataSourceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration information for a data source to index documents in an Amazon S3 bucket.
Constructor and Description |
---|
S3DataSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
S3DataSourceConfiguration |
clone() |
boolean |
equals(Object obj) |
AccessControlListConfiguration |
getAccessControlListConfiguration()
Provides the path to the S3 bucket that contains the user context filtering files for the data source.
|
String |
getBucketName()
The name of the bucket that contains the documents.
|
DocumentsMetadataConfiguration |
getDocumentsMetadataConfiguration() |
List<String> |
getExclusionPatterns()
A list of glob patterns for documents that should not be indexed.
|
List<String> |
getInclusionPrefixes()
A list of S3 prefixes for the documents that should be included in the index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessControlListConfiguration(AccessControlListConfiguration accessControlListConfiguration)
Provides the path to the S3 bucket that contains the user context filtering files for the data source.
|
void |
setBucketName(String bucketName)
The name of the bucket that contains the documents.
|
void |
setDocumentsMetadataConfiguration(DocumentsMetadataConfiguration documentsMetadataConfiguration) |
void |
setExclusionPatterns(Collection<String> exclusionPatterns)
A list of glob patterns for documents that should not be indexed.
|
void |
setInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes for the documents that should be included in the index.
|
String |
toString()
Returns a string representation of this object.
|
S3DataSourceConfiguration |
withAccessControlListConfiguration(AccessControlListConfiguration accessControlListConfiguration)
Provides the path to the S3 bucket that contains the user context filtering files for the data source.
|
S3DataSourceConfiguration |
withBucketName(String bucketName)
The name of the bucket that contains the documents.
|
S3DataSourceConfiguration |
withDocumentsMetadataConfiguration(DocumentsMetadataConfiguration documentsMetadataConfiguration) |
S3DataSourceConfiguration |
withExclusionPatterns(Collection<String> exclusionPatterns)
A list of glob patterns for documents that should not be indexed.
|
S3DataSourceConfiguration |
withExclusionPatterns(String... exclusionPatterns)
A list of glob patterns for documents that should not be indexed.
|
S3DataSourceConfiguration |
withInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes for the documents that should be included in the index.
|
S3DataSourceConfiguration |
withInclusionPrefixes(String... inclusionPrefixes)
A list of S3 prefixes for the documents that should be included in the index.
|
public void setBucketName(String bucketName)
The name of the bucket that contains the documents.
bucketName
- The name of the bucket that contains the documents.public String getBucketName()
The name of the bucket that contains the documents.
public S3DataSourceConfiguration withBucketName(String bucketName)
The name of the bucket that contains the documents.
bucketName
- The name of the bucket that contains the documents.public List<String> getInclusionPrefixes()
A list of S3 prefixes for the documents that should be included in the index.
public void setInclusionPrefixes(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.public S3DataSourceConfiguration withInclusionPrefixes(String... inclusionPrefixes)
A list of S3 prefixes for the documents that should be included in the index.
NOTE: This method appends the values to the existing list (if any). Use
setInclusionPrefixes(java.util.Collection)
or withInclusionPrefixes(java.util.Collection)
if
you want to override the existing values.
inclusionPrefixes
- A list of S3 prefixes for the documents that should be included in the index.public S3DataSourceConfiguration withInclusionPrefixes(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.public List<String> getExclusionPatterns()
A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix also matches an exclusion pattern, the document is not indexed.
For more information about glob patterns, see glob (programming) in Wikipedia.
For more information about glob patterns, see glob (programming) in Wikipedia.
public void setExclusionPatterns(Collection<String> exclusionPatterns)
A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix 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 also matches an exclusion pattern, the document is not indexed.
For more information about glob patterns, see glob (programming) in Wikipedia.
public S3DataSourceConfiguration withExclusionPatterns(String... exclusionPatterns)
A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix also matches an exclusion pattern, the document is not indexed.
For more information about glob patterns, see glob (programming) in Wikipedia.
NOTE: This method appends the values to the existing list (if any). Use
setExclusionPatterns(java.util.Collection)
or withExclusionPatterns(java.util.Collection)
if
you want to override the existing values.
exclusionPatterns
- A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion
prefix also matches an exclusion pattern, the document is not indexed.
For more information about glob patterns, see glob (programming) in Wikipedia.
public S3DataSourceConfiguration withExclusionPatterns(Collection<String> exclusionPatterns)
A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix 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 also matches an exclusion pattern, the document is not indexed.
For more information about glob patterns, see glob (programming) in Wikipedia.
public void setDocumentsMetadataConfiguration(DocumentsMetadataConfiguration documentsMetadataConfiguration)
documentsMetadataConfiguration
- public DocumentsMetadataConfiguration getDocumentsMetadataConfiguration()
public S3DataSourceConfiguration withDocumentsMetadataConfiguration(DocumentsMetadataConfiguration documentsMetadataConfiguration)
documentsMetadataConfiguration
- public void setAccessControlListConfiguration(AccessControlListConfiguration accessControlListConfiguration)
Provides the path to the S3 bucket that contains the user context filtering files for the data source.
accessControlListConfiguration
- Provides the path to the S3 bucket that contains the user context filtering files for the data source.public AccessControlListConfiguration getAccessControlListConfiguration()
Provides the path to the S3 bucket that contains the user context filtering files for the data source.
public S3DataSourceConfiguration withAccessControlListConfiguration(AccessControlListConfiguration accessControlListConfiguration)
Provides the path to the S3 bucket that contains the user context filtering files for the data source.
accessControlListConfiguration
- Provides the path to the S3 bucket that contains the user context filtering files for the data source.public String toString()
toString
in class Object
Object.toString()
public S3DataSourceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.