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 to exclude certain items in your Google Drive, including shared drives
and users' My Drives.
|
GoogleDriveConfiguration.Builder |
exclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns to exclude certain items in your Google Drive, including shared drives
and users' My Drives.
|
GoogleDriveConfiguration.Builder |
fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps Google Drive data source attributes or field names to Amazon Kendra index field names.
|
GoogleDriveConfiguration.Builder |
fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)
Maps Google Drive data source attributes or field names to Amazon Kendra index field names.
|
GoogleDriveConfiguration.Builder |
fieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Maps Google Drive data source attributes or field names to Amazon Kendra index field names.
|
GoogleDriveConfiguration.Builder |
inclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain items in your Google Drive, including shared drives
and users' My Drives.
|
GoogleDriveConfiguration.Builder |
inclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns to include certain items in your Google Drive, including shared drives
and users' My Drives.
|
GoogleDriveConfiguration.Builder |
secretArn(String secretArn)
The Amazon Resource Name (ARN) of a Secrets Managersecret that contains the credentials required to connect
to Google Drive.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGoogleDriveConfiguration.Builder secretArn(String secretArn)
The Amazon Resource Name (ARN) of a Secrets Managersecret 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 Secrets Managersecret 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 to include certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
inclusionPatterns - A list of regular expression patterns to include certain items in your Google Drive, including shared
drives and users' My Drives. Items that match the patterns are included in the index. Items that don't
match the patterns are excluded from the index. If an item matches both an inclusion and exclusion
pattern, the exclusion pattern takes precedence and the item isn't included in the index.GoogleDriveConfiguration.Builder inclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns to include certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
inclusionPatterns - A list of regular expression patterns to include certain items in your Google Drive, including shared
drives and users' My Drives. Items that match the patterns are included in the index. Items that don't
match the patterns are excluded from the index. If an item matches both an inclusion and exclusion
pattern, the exclusion pattern takes precedence and the item isn't included in the index.GoogleDriveConfiguration.Builder exclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
exclusionPatterns - A list of regular expression patterns to exclude certain items in your Google Drive, including shared
drives and users' My Drives. Items that match the patterns are excluded from the index. Items that
don't match the patterns are included in the index. If an item matches both an inclusion and exclusion
pattern, the exclusion pattern takes precedence and the item isn't included in the index.GoogleDriveConfiguration.Builder exclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns to exclude certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
exclusionPatterns - A list of regular expression patterns to exclude certain items in your Google Drive, including shared
drives and users' My Drives. Items that match the patterns are excluded from the index. Items that
don't match the patterns are included in the index. If an item matches both an inclusion and exclusion
pattern, the exclusion pattern takes precedence and the item isn't included in the index.GoogleDriveConfiguration.Builder fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex API before you map to Google Drive fields. For more information, see
Mapping data source fields. The
Google Drive data source field names must exist in your Google Drive custom metadata.
fieldMappings - Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex API before you map to Google Drive fields. For more
information, see Mapping
data source fields. The Google Drive data source field names must exist in your Google Drive
custom metadata.GoogleDriveConfiguration.Builder fieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex API before you map to Google Drive fields. For more information, see
Mapping data source fields. The
Google Drive data source field names must exist in your Google Drive custom metadata.
fieldMappings - Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex API before you map to Google Drive fields. For more
information, see Mapping
data source fields. The Google Drive data source field names must exist in your Google Drive
custom metadata.GoogleDriveConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)
Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex API before you map to Google Drive fields. For more information, see
Mapping data source fields. The
Google Drive data source field names must exist in your Google Drive custom metadata.
DataSourceToIndexFieldMapping.Builder avoiding the need
to create one manually via
DataSourceToIndexFieldMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #fieldMappings(List.
fieldMappings - a consumer that will call methods on
DataSourceToIndexFieldMapping.Builder#fieldMappings(java.util.Collection) 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 © 2023. All rights reserved.