@Generated(value="software.amazon.awssdk:codegen") public final class OneDriveConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OneDriveConfiguration.Builder,OneDriveConfiguration>
Provides configuration information for data sources that connect to OneDrive.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OneDriveConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OneDriveConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
exclusionPatterns()
List of regular expressions applied to documents.
|
List<DataSourceToIndexFieldMapping> |
fieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map Microsoft OneDrive fields to custom fields
in the Amazon Kendra index. |
<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).
|
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.
|
OneDriveUsers |
oneDriveUsers()
A list of user accounts whose documents should be indexed.
|
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to
connect to OneDrive.
|
static Class<? extends OneDriveConfiguration.Builder> |
serializableBuilderClass() |
String |
tenantDomain()
Tha 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 String tenantDomain()
Tha Azure Active Directory domain of the organization.
public String secretArn()
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
public OneDriveUsers oneDriveUsers()
A list of user accounts whose documents should be indexed.
public boolean hasInclusionPatterns()
public List<String> inclusionPatterns()
A list of regular expression patterns. Documents that match the pattern are included in the index. Documents that don't match the pattern are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.
The exclusion pattern is applied to the file name.
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.
The exclusion pattern is applied to the file name.
public boolean hasExclusionPatterns()
public List<String> exclusionPatterns()
List of regular expressions applied to documents. Items that match the exclusion pattern are not indexed. If you provide both an inclusion pattern and an exclusion pattern, any item that matches the exclusion pattern isn't indexed.
The exclusion pattern is applied to the file name.
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.
The exclusion pattern is applied to the file name.
public boolean hasFieldMappings()
public List<DataSourceToIndexFieldMapping> fieldMappings()
A list of DataSourceToIndexFieldMapping objects that map Microsoft OneDrive fields to custom fields
in the Amazon Kendra index. You must first create the index fields before you map OneDrive fields.
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.
DataSourceToIndexFieldMapping objects that map Microsoft OneDrive fields to custom
fields in the Amazon Kendra index. You must first create the index fields before you map OneDrive fields.public OneDriveConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OneDriveConfiguration.Builder,OneDriveConfiguration>public static OneDriveConfiguration.Builder builder()
public static Class<? extends OneDriveConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.