@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OneDriveConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration information for data sources that connect to OneDrive.
Constructor and Description |
---|
OneDriveConfiguration() |
Modifier and Type | Method and Description |
---|---|
OneDriveConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDisableLocalGroups()
A Boolean value that specifies whether local groups are disabled (
True ) or enabled (
False ). |
List<String> |
getExclusionPatterns()
List of regular expressions applied to documents.
|
List<DataSourceToIndexFieldMapping> |
getFieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map Microsoft OneDrive fields to custom fields
in the Amazon Kendra index. |
List<String> |
getInclusionPatterns()
A list of regular expression patterns.
|
OneDriveUsers |
getOneDriveUsers()
A list of user accounts whose documents should be indexed.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to
connect to OneDrive.
|
String |
getTenantDomain()
The Azure Active Directory domain of the organization.
|
int |
hashCode() |
Boolean |
isDisableLocalGroups()
A Boolean value that specifies whether local groups are disabled (
True ) or enabled (
False ). |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisableLocalGroups(Boolean disableLocalGroups)
A Boolean value that specifies whether local groups are disabled (
True ) or enabled (
False ). |
void |
setExclusionPatterns(Collection<String> exclusionPatterns)
List of regular expressions applied to documents.
|
void |
setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map Microsoft OneDrive fields to custom fields
in the Amazon Kendra index. |
void |
setInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns.
|
void |
setOneDriveUsers(OneDriveUsers oneDriveUsers)
A list of user accounts whose documents should be indexed.
|
void |
setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to
connect to OneDrive.
|
void |
setTenantDomain(String tenantDomain)
The Azure Active Directory domain of the organization.
|
String |
toString()
Returns a string representation of this object.
|
OneDriveConfiguration |
withDisableLocalGroups(Boolean disableLocalGroups)
A Boolean value that specifies whether local groups are disabled (
True ) or enabled (
False ). |
OneDriveConfiguration |
withExclusionPatterns(Collection<String> exclusionPatterns)
List of regular expressions applied to documents.
|
OneDriveConfiguration |
withExclusionPatterns(String... exclusionPatterns)
List of regular expressions applied to documents.
|
OneDriveConfiguration |
withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map Microsoft OneDrive fields to custom fields
in the Amazon Kendra index. |
OneDriveConfiguration |
withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map Microsoft OneDrive fields to custom fields
in the Amazon Kendra index. |
OneDriveConfiguration |
withInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns.
|
OneDriveConfiguration |
withInclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns.
|
OneDriveConfiguration |
withOneDriveUsers(OneDriveUsers oneDriveUsers)
A list of user accounts whose documents should be indexed.
|
OneDriveConfiguration |
withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to
connect to OneDrive.
|
OneDriveConfiguration |
withTenantDomain(String tenantDomain)
The Azure Active Directory domain of the organization.
|
public void setTenantDomain(String tenantDomain)
The Azure Active Directory domain of the organization.
tenantDomain
- The Azure Active Directory domain of the organization.public String getTenantDomain()
The Azure Active Directory domain of the organization.
public OneDriveConfiguration withTenantDomain(String tenantDomain)
The Azure Active Directory domain of the organization.
tenantDomain
- The Azure Active Directory domain of the organization.public void setSecretArn(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.
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 String getSecretArn()
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 OneDriveConfiguration withSecretArn(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.
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 void setOneDriveUsers(OneDriveUsers oneDriveUsers)
A list of user accounts whose documents should be indexed.
oneDriveUsers
- A list of user accounts whose documents should be indexed.public OneDriveUsers getOneDriveUsers()
A list of user accounts whose documents should be indexed.
public OneDriveConfiguration withOneDriveUsers(OneDriveUsers oneDriveUsers)
A list of user accounts whose documents should be indexed.
oneDriveUsers
- A list of user accounts whose documents should be indexed.public List<String> getInclusionPatterns()
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.
The exclusion pattern is applied to the file name.
public void setInclusionPatterns(Collection<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.
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.
public OneDriveConfiguration withInclusionPatterns(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.
NOTE: This method appends the values to the existing list (if any). Use
setInclusionPatterns(java.util.Collection)
or withInclusionPatterns(java.util.Collection)
if
you want to override the existing values.
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.
public OneDriveConfiguration withInclusionPatterns(Collection<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.
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.
public List<String> getExclusionPatterns()
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.
The exclusion pattern is applied to the file name.
public void setExclusionPatterns(Collection<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.
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.
public OneDriveConfiguration withExclusionPatterns(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.
NOTE: This method appends the values to the existing list (if any). Use
setExclusionPatterns(java.util.Collection)
or withExclusionPatterns(java.util.Collection)
if
you want to override the existing values.
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.
public OneDriveConfiguration withExclusionPatterns(Collection<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.
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.
public List<DataSourceToIndexFieldMapping> getFieldMappings()
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.
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 void setFieldMappings(Collection<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.
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.public OneDriveConfiguration withFieldMappings(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.
NOTE: This method appends the values to the existing list (if any). Use
setFieldMappings(java.util.Collection)
or withFieldMappings(java.util.Collection)
if you want
to override the existing values.
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.public OneDriveConfiguration withFieldMappings(Collection<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.
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.public void setDisableLocalGroups(Boolean disableLocalGroups)
A Boolean value that specifies whether local groups are disabled (True
) or enabled (
False
).
disableLocalGroups
- A Boolean value that specifies whether local groups are disabled (True
) or enabled (
False
).public Boolean getDisableLocalGroups()
A Boolean value that specifies whether local groups are disabled (True
) or enabled (
False
).
True
) or enabled (
False
).public OneDriveConfiguration withDisableLocalGroups(Boolean disableLocalGroups)
A Boolean value that specifies whether local groups are disabled (True
) or enabled (
False
).
disableLocalGroups
- A Boolean value that specifies whether local groups are disabled (True
) or enabled (
False
).public Boolean isDisableLocalGroups()
A Boolean value that specifies whether local groups are disabled (True
) or enabled (
False
).
True
) or enabled (
False
).public String toString()
toString
in class Object
Object.toString()
public OneDriveConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.