public static interface GoogleDriveConfiguration.Builder extends SdkPojo, CopyableBuilder<GoogleDriveConfiguration.Builder,GoogleDriveConfiguration>
| Modifier and Type | Method and Description |
|---|---|
GoogleDriveConfiguration.Builder |
excludeMimeTypes(Collection<String> excludeMimeTypes)
A list of MIME types to exclude from the index.
|
GoogleDriveConfiguration.Builder |
excludeMimeTypes(String... excludeMimeTypes)
A list of MIME types to exclude from the index.
|
GoogleDriveConfiguration.Builder |
excludeSharedDrives(Collection<String> excludeSharedDrives)
A list of identifiers or shared drives to exclude from the index.
|
GoogleDriveConfiguration.Builder |
excludeSharedDrives(String... excludeSharedDrives)
A list of identifiers or shared drives to exclude from the index.
|
GoogleDriveConfiguration.Builder |
excludeUserAccounts(Collection<String> excludeUserAccounts)
A list of email addresses of the users.
|
GoogleDriveConfiguration.Builder |
excludeUserAccounts(String... excludeUserAccounts)
A list of email addresses of the users.
|
GoogleDriveConfiguration.Builder |
exclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns that apply to the path on Google Drive.
|
GoogleDriveConfiguration.Builder |
exclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns that apply to the path on Google Drive.
|
GoogleDriveConfiguration.Builder |
fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
|
GoogleDriveConfiguration.Builder |
fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)
Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
|
GoogleDriveConfiguration.Builder |
fieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
|
GoogleDriveConfiguration.Builder |
inclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns that apply to path on Google Drive.
|
GoogleDriveConfiguration.Builder |
inclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns that apply to path on Google Drive.
|
GoogleDriveConfiguration.Builder |
secretArn(String secretArn)
The Amazon Resource Name (ARN) of a AWS Secrets Manager secret that contains the credentials required to
connect to Google Drive.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGoogleDriveConfiguration.Builder secretArn(String secretArn)
The Amazon Resource Name (ARN) of a AWS Secrets Manager secret that contains the credentials required to connect to Google Drive. For more information, see Using a Google Workspace Drive data source.
secretArn - The Amazon Resource Name (ARN) of a AWS Secrets Manager secret that contains the credentials required
to connect to Google Drive. For more information, see Using a Google
Workspace Drive data source.GoogleDriveConfiguration.Builder inclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns that apply to path on Google Drive. Items that match the pattern are included in the index from both shared drives and users' My Drives. Items that don't match the pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion pattern, it is excluded from the index.
inclusionPatterns - A list of regular expression patterns that apply to path on Google Drive. Items that match the pattern
are included in the index from both shared drives and users' My Drives. Items that don't match the
pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion
pattern, it is excluded from the index.GoogleDriveConfiguration.Builder inclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns that apply to path on Google Drive. Items that match the pattern are included in the index from both shared drives and users' My Drives. Items that don't match the pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion pattern, it is excluded from the index.
inclusionPatterns - A list of regular expression patterns that apply to path on Google Drive. Items that match the pattern
are included in the index from both shared drives and users' My Drives. Items that don't match the
pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion
pattern, it is excluded from the index.GoogleDriveConfiguration.Builder exclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns that apply to the path on Google Drive. Items that match the pattern are excluded from the index from both shared drives and users' My Drives. Items that don't match the pattern are included in the index. If an item matches both an exclusion pattern and an inclusion pattern, it is excluded from the index.
exclusionPatterns - A list of regular expression patterns that apply to the path on Google Drive. Items that match the
pattern are excluded from the index from both shared drives and users' My Drives. Items that don't
match the pattern are included in the index. If an item matches both an exclusion pattern and an
inclusion pattern, it is excluded from the index.GoogleDriveConfiguration.Builder exclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns that apply to the path on Google Drive. Items that match the pattern are excluded from the index from both shared drives and users' My Drives. Items that don't match the pattern are included in the index. If an item matches both an exclusion pattern and an inclusion pattern, it is excluded from the index.
exclusionPatterns - A list of regular expression patterns that apply to the path on Google Drive. Items that match the
pattern are excluded from the index from both shared drives and users' My Drives. Items that don't
match the pattern are included in the index. If an item matches both an exclusion pattern and an
inclusion pattern, it is excluded from the index.GoogleDriveConfiguration.Builder fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
If you are using the console, you can define index fields when creating the mapping. If you are using the
API, you must first create the field using the UpdateIndex operation.
fieldMappings - Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
If you are using the console, you can define index fields when creating the mapping. If you are using
the API, you must first create the field using the UpdateIndex operation.
GoogleDriveConfiguration.Builder fieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
If you are using the console, you can define index fields when creating the mapping. If you are using the
API, you must first create the field using the UpdateIndex operation.
fieldMappings - Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
If you are using the console, you can define index fields when creating the mapping. If you are using
the API, you must first create the field using the UpdateIndex operation.
GoogleDriveConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)
Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
If you are using the console, you can define index fields when creating the mapping. If you are using the
API, you must first create the field using the UpdateIndex operation.
List.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #fieldMappings(List) .fieldMappings - a consumer that will call methods on List.Builder #fieldMappings(List) GoogleDriveConfiguration.Builder excludeMimeTypes(Collection<String> excludeMimeTypes)
A list of MIME types to exclude from the index. All documents matching the specified MIME type are excluded.
For a list of MIME types, see Using a Google Workspace Drive data source.
excludeMimeTypes - A list of MIME types to exclude from the index. All documents matching the specified MIME type are
excluded.
For a list of MIME types, see Using a Google Workspace Drive data source.
GoogleDriveConfiguration.Builder excludeMimeTypes(String... excludeMimeTypes)
A list of MIME types to exclude from the index. All documents matching the specified MIME type are excluded.
For a list of MIME types, see Using a Google Workspace Drive data source.
excludeMimeTypes - A list of MIME types to exclude from the index. All documents matching the specified MIME type are
excluded.
For a list of MIME types, see Using a Google Workspace Drive data source.
GoogleDriveConfiguration.Builder excludeUserAccounts(Collection<String> excludeUserAccounts)
A list of email addresses of the users. Documents owned by these users are excluded from the index. Documents shared with excluded users are indexed unless they are excluded in another way.
excludeUserAccounts - A list of email addresses of the users. Documents owned by these users are excluded from the index.
Documents shared with excluded users are indexed unless they are excluded in another way.GoogleDriveConfiguration.Builder excludeUserAccounts(String... excludeUserAccounts)
A list of email addresses of the users. Documents owned by these users are excluded from the index. Documents shared with excluded users are indexed unless they are excluded in another way.
excludeUserAccounts - A list of email addresses of the users. Documents owned by these users are excluded from the index.
Documents shared with excluded users are indexed unless they are excluded in another way.GoogleDriveConfiguration.Builder excludeSharedDrives(Collection<String> excludeSharedDrives)
A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded.
excludeSharedDrives - A list of identifiers or shared drives to exclude from the index. All files and folders stored on the
shared drive are excluded.GoogleDriveConfiguration.Builder excludeSharedDrives(String... excludeSharedDrives)
A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded.
excludeSharedDrives - A list of identifiers or shared drives to exclude from the index. All files and folders stored on the
shared drive are excluded.Copyright © 2021. All rights reserved.