@Generated(value="software.amazon.awssdk:codegen") public final class GoogleDriveConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GoogleDriveConfiguration.Builder,GoogleDriveConfiguration>
Provides configuration information for data sources that connect to Google Drive.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GoogleDriveConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GoogleDriveConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
excludeMimeTypes()
A list of MIME types to exclude from the index.
|
List<String> |
excludeSharedDrives()
A list of identifiers or shared drives to exclude from the index.
|
List<String> |
excludeUserAccounts()
A list of email addresses of the users.
|
List<String> |
exclusionPatterns()
A list of regular expression patterns that apply to the path on Google Drive.
|
List<DataSourceToIndexFieldMapping> |
fieldMappings()
Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludeMimeTypes()
Returns true if the ExcludeMimeTypes 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 |
hasExcludeSharedDrives()
Returns true if the ExcludeSharedDrives 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 |
hasExcludeUserAccounts()
Returns true if the ExcludeUserAccounts 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 |
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).
|
boolean |
hasFieldMappings()
Returns true if the FieldMappings 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).
|
List<String> |
inclusionPatterns()
A list of regular expression patterns that apply to path on Google Drive.
|
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The Amazon Resource Name (ARN) of a AWS Secrets Manager secret that contains the credentials required to connect
to Google Drive.
|
static Class<? extends GoogleDriveConfiguration.Builder> |
serializableBuilderClass() |
GoogleDriveConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final boolean hasInclusionPatterns()
public final List<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.
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.
public final boolean hasExclusionPatterns()
public final List<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.
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.
public final boolean hasFieldMappings()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFieldMappings() to see if a value was sent in this 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.
public final boolean hasExcludeMimeTypes()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExcludeMimeTypes() to see if a value was sent in this field.
For a list of MIME types, see Using a Google Workspace Drive data source.
public final boolean hasExcludeUserAccounts()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExcludeUserAccounts() to see if a value was sent in this field.
public final boolean hasExcludeSharedDrives()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExcludeSharedDrives() to see if a value was sent in this field.
public GoogleDriveConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GoogleDriveConfiguration.Builder,GoogleDriveConfiguration>public static GoogleDriveConfiguration.Builder builder()
public static Class<? extends GoogleDriveConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.