@Generated(value="software.amazon.awssdk:codegen") public final class S3DataSourceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3DataSourceConfiguration.Builder,S3DataSourceConfiguration>
Provides configuration information for a data source to index documents in an Amazon S3 bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3DataSourceConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
AccessControlListConfiguration |
accessControlListConfiguration()
Provides the path to the S3 bucket that contains the user context filtering files for the data source.
|
String |
bucketName()
The name of the bucket that contains the documents.
|
static S3DataSourceConfiguration.Builder |
builder() |
DocumentsMetadataConfiguration |
documentsMetadataConfiguration()
Returns the value of the DocumentsMetadataConfiguration property for this object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
exclusionPatterns()
A list of glob patterns for documents that should not be indexed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExclusionPatterns()
Returns true if the ExclusionPatterns property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasInclusionPatterns()
Returns true if the InclusionPatterns property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasInclusionPrefixes()
Returns true if the InclusionPrefixes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<String> |
inclusionPatterns()
A list of glob patterns for documents that should be indexed.
|
List<String> |
inclusionPrefixes()
A list of S3 prefixes for the documents that should be included in the index.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3DataSourceConfiguration.Builder> |
serializableBuilderClass() |
S3DataSourceConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucketName()
The name of the bucket that contains the documents.
public final boolean hasInclusionPrefixes()
public final List<String> inclusionPrefixes()
A list of S3 prefixes for the documents that should be included in the index.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInclusionPrefixes() to see if a value was sent in this field.
public final boolean hasInclusionPatterns()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInclusionPatterns() to see if a value was sent in this field.
For more information about glob patterns, see glob (programming) in Wikipedia.
public final boolean hasExclusionPatterns()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExclusionPatterns() to see if a value was sent in this field.
For more information about glob patterns, see glob (programming) in Wikipedia.
public final DocumentsMetadataConfiguration documentsMetadataConfiguration()
public final 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.
public S3DataSourceConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3DataSourceConfiguration.Builder,S3DataSourceConfiguration>public static S3DataSourceConfiguration.Builder builder()
public static Class<? extends S3DataSourceConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.