@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SharePointConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information to connect to Microsoft SharePoint as your data source.
Constructor and Description |
---|
SharePointConfiguration() |
Modifier and Type | Method and Description |
---|---|
SharePointConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCrawlAttachments()
TRUE to include attachments to documents stored in your Microsoft SharePoint site in the index;
otherwise, FALSE . |
Boolean |
getDisableLocalGroups()
A Boolean value that specifies whether local groups are disabled (
True ) or enabled (
False ). |
String |
getDocumentTitleFieldName()
The Microsoft SharePoint attribute field that contains the title of the document.
|
List<String> |
getExclusionPatterns()
A list of regular expression patterns to exclude certain documents in your SharePoint.
|
List<DataSourceToIndexFieldMapping> |
getFieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map SharePoint data source attributes or field
names to Amazon Kendra index field names. |
List<String> |
getInclusionPatterns()
A list of regular expression patterns to include certain documents in your SharePoint.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager.
|
String |
getSharePointVersion()
The version of Microsoft SharePoint that you are using as a data source.
|
S3Path |
getSslCertificateS3Path() |
List<String> |
getUrls()
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
|
Boolean |
getUseChangeLog()
TRUE to use the SharePoint change log to determine which documents require updating in the index. |
DataSourceVpcConfiguration |
getVpcConfiguration() |
int |
hashCode() |
Boolean |
isCrawlAttachments()
TRUE to include attachments to documents stored in your Microsoft SharePoint site in the index;
otherwise, FALSE . |
Boolean |
isDisableLocalGroups()
A Boolean value that specifies whether local groups are disabled (
True ) or enabled (
False ). |
Boolean |
isUseChangeLog()
TRUE to use the SharePoint change log to determine which documents require updating in the index. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCrawlAttachments(Boolean crawlAttachments)
TRUE to include attachments to documents stored in your Microsoft SharePoint site in the index;
otherwise, FALSE . |
void |
setDisableLocalGroups(Boolean disableLocalGroups)
A Boolean value that specifies whether local groups are disabled (
True ) or enabled (
False ). |
void |
setDocumentTitleFieldName(String documentTitleFieldName)
The Microsoft SharePoint attribute field that contains the title of the document.
|
void |
setExclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain documents in your SharePoint.
|
void |
setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map SharePoint data source attributes or field
names to Amazon Kendra index field names. |
void |
setInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain documents in your SharePoint.
|
void |
setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager.
|
void |
setSharePointVersion(String sharePointVersion)
The version of Microsoft SharePoint that you are using as a data source.
|
void |
setSslCertificateS3Path(S3Path sslCertificateS3Path) |
void |
setUrls(Collection<String> urls)
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
|
void |
setUseChangeLog(Boolean useChangeLog)
TRUE to use the SharePoint change log to determine which documents require updating in the index. |
void |
setVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration) |
String |
toString()
Returns a string representation of this object.
|
SharePointConfiguration |
withCrawlAttachments(Boolean crawlAttachments)
TRUE to include attachments to documents stored in your Microsoft SharePoint site in the index;
otherwise, FALSE . |
SharePointConfiguration |
withDisableLocalGroups(Boolean disableLocalGroups)
A Boolean value that specifies whether local groups are disabled (
True ) or enabled (
False ). |
SharePointConfiguration |
withDocumentTitleFieldName(String documentTitleFieldName)
The Microsoft SharePoint attribute field that contains the title of the document.
|
SharePointConfiguration |
withExclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain documents in your SharePoint.
|
SharePointConfiguration |
withExclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns to exclude certain documents in your SharePoint.
|
SharePointConfiguration |
withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map SharePoint data source attributes or field
names to Amazon Kendra index field names. |
SharePointConfiguration |
withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map SharePoint data source attributes or field
names to Amazon Kendra index field names. |
SharePointConfiguration |
withInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain documents in your SharePoint.
|
SharePointConfiguration |
withInclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns to include certain documents in your SharePoint.
|
SharePointConfiguration |
withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager.
|
SharePointConfiguration |
withSharePointVersion(SharePointVersion sharePointVersion)
The version of Microsoft SharePoint that you are using as a data source.
|
SharePointConfiguration |
withSharePointVersion(String sharePointVersion)
The version of Microsoft SharePoint that you are using as a data source.
|
SharePointConfiguration |
withSslCertificateS3Path(S3Path sslCertificateS3Path) |
SharePointConfiguration |
withUrls(Collection<String> urls)
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
|
SharePointConfiguration |
withUrls(String... urls)
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
|
SharePointConfiguration |
withUseChangeLog(Boolean useChangeLog)
TRUE to use the SharePoint change log to determine which documents require updating in the index. |
SharePointConfiguration |
withVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration) |
public void setSharePointVersion(String sharePointVersion)
The version of Microsoft SharePoint that you are using as a data source.
sharePointVersion
- The version of Microsoft SharePoint that you are using as a data source.SharePointVersion
public String getSharePointVersion()
The version of Microsoft SharePoint that you are using as a data source.
SharePointVersion
public SharePointConfiguration withSharePointVersion(String sharePointVersion)
The version of Microsoft SharePoint that you are using as a data source.
sharePointVersion
- The version of Microsoft SharePoint that you are using as a data source.SharePointVersion
public SharePointConfiguration withSharePointVersion(SharePointVersion sharePointVersion)
The version of Microsoft SharePoint that you are using as a data source.
sharePointVersion
- The version of Microsoft SharePoint that you are using as a data source.SharePointVersion
public List<String> getUrls()
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
public void setUrls(Collection<String> urls)
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
urls
- The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.public SharePointConfiguration withUrls(String... urls)
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
NOTE: This method appends the values to the existing list (if any). Use
setUrls(java.util.Collection)
or withUrls(java.util.Collection)
if you want to override the
existing values.
urls
- The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.public SharePointConfiguration withUrls(Collection<String> urls)
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
urls
- The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.public void setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source. For more information about Secrets Manager see What Is Secrets Manager in the Secrets Manager user guide.
secretArn
- The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a
user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part
of the credentials. For more information, see Using a Microsoft
SharePoint Data Source. For more information about Secrets Manager see What Is Secrets Manager
in the Secrets Manager user guide.public String getSecretArn()
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source. For more information about Secrets Manager see What Is Secrets Manager in the Secrets Manager user guide.
public SharePointConfiguration withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source. For more information about Secrets Manager see What Is Secrets Manager in the Secrets Manager user guide.
secretArn
- The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a
user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part
of the credentials. For more information, see Using a Microsoft
SharePoint Data Source. For more information about Secrets Manager see What Is Secrets Manager
in the Secrets Manager user guide.public void setCrawlAttachments(Boolean crawlAttachments)
TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the index;
otherwise, FALSE
.
crawlAttachments
- TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the
index; otherwise, FALSE
.public Boolean getCrawlAttachments()
TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the index;
otherwise, FALSE
.
TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the
index; otherwise, FALSE
.public SharePointConfiguration withCrawlAttachments(Boolean crawlAttachments)
TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the index;
otherwise, FALSE
.
crawlAttachments
- TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the
index; otherwise, FALSE
.public Boolean isCrawlAttachments()
TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the index;
otherwise, FALSE
.
TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the
index; otherwise, FALSE
.public void setUseChangeLog(Boolean useChangeLog)
TRUE
to use the SharePoint change log to determine which documents require updating in the index.
Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all
of your documents in SharePoint.
useChangeLog
- TRUE
to use the SharePoint change log to determine which documents require updating in the
index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than
to scan all of your documents in SharePoint.public Boolean getUseChangeLog()
TRUE
to use the SharePoint change log to determine which documents require updating in the index.
Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all
of your documents in SharePoint.
TRUE
to use the SharePoint change log to determine which documents require updating in the
index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log
than to scan all of your documents in SharePoint.public SharePointConfiguration withUseChangeLog(Boolean useChangeLog)
TRUE
to use the SharePoint change log to determine which documents require updating in the index.
Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all
of your documents in SharePoint.
useChangeLog
- TRUE
to use the SharePoint change log to determine which documents require updating in the
index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than
to scan all of your documents in SharePoint.public Boolean isUseChangeLog()
TRUE
to use the SharePoint change log to determine which documents require updating in the index.
Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all
of your documents in SharePoint.
TRUE
to use the SharePoint change log to determine which documents require updating in the
index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log
than to scan all of your documents in SharePoint.public List<String> getInclusionPatterns()
A list of regular expression patterns to include certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
The regex is applied to the display URL of the SharePoint document.
public void setInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
inclusionPatterns
- A list of regular expression patterns to include certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
public SharePointConfiguration withInclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns to include certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
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 to include certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
public SharePointConfiguration withInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
inclusionPatterns
- A list of regular expression patterns to include certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
public List<String> getExclusionPatterns()
A list of regular expression patterns to exclude certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
The regex is applied to the display URL of the SharePoint document.
public void setExclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
exclusionPatterns
- A list of regular expression patterns to exclude certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
public SharePointConfiguration withExclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns to exclude certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
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
- A list of regular expression patterns to exclude certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
public SharePointConfiguration withExclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
exclusionPatterns
- A list of regular expression patterns to exclude certain documents in your SharePoint. 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 regex is applied to the display URL of the SharePoint document.
public void setVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
vpcConfiguration
- public DataSourceVpcConfiguration getVpcConfiguration()
public SharePointConfiguration withVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
vpcConfiguration
- public List<DataSourceToIndexFieldMapping> getFieldMappings()
A list of DataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field
names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before
you map to SharePoint fields. For more information, see Mapping data source fields. The
SharePoint data source field names must exist in your SharePoint custom metadata.
DataSourceToIndexFieldMapping
objects that map SharePoint data source attributes
or field names to Amazon Kendra index field names. To create custom fields, use the
UpdateIndex
API before you map to SharePoint fields. For more information, see Mapping data source fields.
The SharePoint data source field names must exist in your SharePoint custom metadata.public void setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of DataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field
names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before
you map to SharePoint fields. For more information, see Mapping data source fields. The
SharePoint data source field names must exist in your SharePoint custom metadata.
fieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or
field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to SharePoint fields. For more information, see Mapping data source fields. The
SharePoint data source field names must exist in your SharePoint custom metadata.public SharePointConfiguration withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
A list of DataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field
names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before
you map to SharePoint fields. For more information, see Mapping data source fields. The
SharePoint data source field names must exist in your SharePoint custom metadata.
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 SharePoint data source attributes or
field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to SharePoint fields. For more information, see Mapping data source fields. The
SharePoint data source field names must exist in your SharePoint custom metadata.public SharePointConfiguration withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of DataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field
names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before
you map to SharePoint fields. For more information, see Mapping data source fields. The
SharePoint data source field names must exist in your SharePoint custom metadata.
fieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or
field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to SharePoint fields. For more information, see Mapping data source fields. The
SharePoint data source field names must exist in your SharePoint custom metadata.public void setDocumentTitleFieldName(String documentTitleFieldName)
The Microsoft SharePoint attribute field that contains the title of the document.
documentTitleFieldName
- The Microsoft SharePoint attribute field that contains the title of the document.public String getDocumentTitleFieldName()
The Microsoft SharePoint attribute field that contains the title of the document.
public SharePointConfiguration withDocumentTitleFieldName(String documentTitleFieldName)
The Microsoft SharePoint attribute field that contains the title of the document.
documentTitleFieldName
- The Microsoft SharePoint attribute field that contains the title of the document.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 SharePointConfiguration 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 void setSslCertificateS3Path(S3Path sslCertificateS3Path)
sslCertificateS3Path
- public S3Path getSslCertificateS3Path()
public SharePointConfiguration withSslCertificateS3Path(S3Path sslCertificateS3Path)
sslCertificateS3Path
- public String toString()
toString
in class Object
Object.toString()
public SharePointConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.