@Generated(value="software.amazon.awssdk:codegen") public final class OneDriveConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OneDriveConfiguration.Builder,OneDriveConfiguration>
Provides the configuration information to connect to OneDrive as your data source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OneDriveConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OneDriveConfiguration.Builder |
builder() |
Boolean |
disableLocalGroups()
TRUE to disable local groups information. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
exclusionPatterns()
A list of regular expression patterns to exclude certain documents in your OneDrive.
|
List<DataSourceToIndexFieldMapping> |
fieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field
names to Amazon Kendra index field names. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExclusionPatterns()
For responses, this returns true if the service returned a value for the ExclusionPatterns property.
|
boolean |
hasFieldMappings()
For responses, this returns true if the service returned a value for the FieldMappings property.
|
int |
hashCode() |
boolean |
hasInclusionPatterns()
For responses, this returns true if the service returned a value for the InclusionPatterns property.
|
List<String> |
inclusionPatterns()
A list of regular expression patterns to include certain documents in your OneDrive.
|
OneDriveUsers |
oneDriveUsers()
A list of user accounts whose documents should be indexed.
|
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to
OneDrive.
|
static Class<? extends OneDriveConfiguration.Builder> |
serializableBuilderClass() |
String |
tenantDomain()
The Azure Active Directory domain of the organization.
|
OneDriveConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String tenantDomain()
The Azure Active Directory domain of the organization.
public final String secretArn()
The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user name should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
public final OneDriveUsers oneDriveUsers()
A list of user accounts whose documents should be indexed.
public final boolean hasInclusionPatterns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> inclusionPatterns()
A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the file name.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInclusionPatterns() method.
The pattern is applied to the file name.
public final boolean hasExclusionPatterns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> exclusionPatterns()
A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the file name.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasExclusionPatterns() method.
The pattern is applied to the file name.
public final boolean hasFieldMappings()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<DataSourceToIndexFieldMapping> fieldMappings()
A list of DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field
names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before
you map to OneDrive fields. For more information, see Mapping data source fields. The
OneDrive data source field names must exist in your OneDrive custom metadata.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFieldMappings() method.
DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or
field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to OneDrive fields. For more information, see Mapping data source fields.
The OneDrive data source field names must exist in your OneDrive custom metadata.public final Boolean disableLocalGroups()
TRUE to disable local groups information.
TRUE to disable local groups information.public OneDriveConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OneDriveConfiguration.Builder,OneDriveConfiguration>public static OneDriveConfiguration.Builder builder()
public static Class<? extends OneDriveConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.