Interface SharePointConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SharePointConfiguration.Builder,
,SharePointConfiguration> SdkBuilder<SharePointConfiguration.Builder,
,SharePointConfiguration> SdkPojo
- Enclosing class:
SharePointConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationType
(String authenticationType) Whether you want to connect to SharePoint Online using basic authentication of user name and password, or OAuth authentication of user name, password, client ID, and client secret, or AD App-only authentication of client secret.authenticationType
(SharePointOnlineAuthenticationType authenticationType) Whether you want to connect to SharePoint Online using basic authentication of user name and password, or OAuth authentication of user name, password, client ID, and client secret, or AD App-only authentication of client secret.crawlAttachments
(Boolean crawlAttachments) TRUE
to index document attachments.disableLocalGroups
(Boolean disableLocalGroups) TRUE
to disable local groups information.documentTitleFieldName
(String documentTitleFieldName) The Microsoft SharePoint attribute field that contains the title of the document.exclusionPatterns
(String... exclusionPatterns) A list of regular expression patterns to exclude certain documents in your SharePoint.exclusionPatterns
(Collection<String> exclusionPatterns) A list of regular expression patterns to exclude certain documents in your SharePoint.fieldMappings
(Collection<DataSourceToIndexFieldMapping> fieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field names to Amazon Kendra index field names.fieldMappings
(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field names to Amazon Kendra index field names.fieldMappings
(DataSourceToIndexFieldMapping... fieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field names to Amazon Kendra index field names.inclusionPatterns
(String... inclusionPatterns) A list of regular expression patterns to include certain documents in your SharePoint.inclusionPatterns
(Collection<String> inclusionPatterns) A list of regular expression patterns to include certain documents in your SharePoint.default SharePointConfiguration.Builder
proxyConfiguration
(Consumer<ProxyConfiguration.Builder> proxyConfiguration) Configuration information to connect to your Microsoft SharePoint site URLs via instance via a web proxy.proxyConfiguration
(ProxyConfiguration proxyConfiguration) Configuration information to connect to your Microsoft SharePoint site URLs via instance via a web proxy.The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance.sharePointVersion
(String sharePointVersion) The version of Microsoft SharePoint that you use.sharePointVersion
(SharePointVersion sharePointVersion) The version of Microsoft SharePoint that you use.default SharePointConfiguration.Builder
sslCertificateS3Path
(Consumer<S3Path.Builder> sslCertificateS3Path) The path to the SSL certificate stored in an Amazon S3 bucket.sslCertificateS3Path
(S3Path sslCertificateS3Path) The path to the SSL certificate stored in an Amazon S3 bucket.The Microsoft SharePoint site URLs for the documents you want to index.urls
(Collection<String> urls) The Microsoft SharePoint site URLs for the documents you want to index.useChangeLog
(Boolean useChangeLog) TRUE
to use the SharePoint change log to determine which documents require updating in the index.default SharePointConfiguration.Builder
vpcConfiguration
(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint.vpcConfiguration
(DataSourceVpcConfiguration vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
urls
The Microsoft SharePoint site URLs for the documents you want to index.
- Parameters:
urls
- The Microsoft SharePoint site URLs for the documents you want to index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urls
The Microsoft SharePoint site URLs for the documents you want to index.
- Parameters:
urls
- The Microsoft SharePoint site URLs for the documents you want to index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance. For more information, see Microsoft SharePoint.
- Parameters:
secretArn
- The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance. For more information, see Microsoft SharePoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crawlAttachments
TRUE
to index document attachments.- Parameters:
crawlAttachments
-TRUE
to index document attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 applies to the display URL of the SharePoint document.
- Parameters:
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 applies to the display URL of the SharePoint document.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 applies to the display URL of the SharePoint document.
- Parameters:
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 applies to the display URL of the SharePoint document.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 applies to the display URL of the SharePoint document.
- Parameters:
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 applies to the display URL of the SharePoint document.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 applies to the display URL of the SharePoint document.
- Parameters:
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 applies to the display URL of the SharePoint document.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.
- Parameters:
vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default SharePointConfiguration.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.
This is a convenience method that creates an instance of theDataSourceVpcConfiguration.Builder
avoiding the need to create one manually viaDataSourceVpcConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(DataSourceVpcConfiguration)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onDataSourceVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldMappings
SharePointConfiguration.Builder fieldMappings(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 theUpdateIndex
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.- Parameters:
fieldMappings
- A list ofDataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theUpdateIndex
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.- Parameters:
fieldMappings
- A list ofDataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
SharePointConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) A list of
This is a convenience method that creates an instance of theDataSourceToIndexFieldMapping
objects that map SharePoint data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
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.Builder
avoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldMappings(List<DataSourceToIndexFieldMapping>)
.- Parameters:
fieldMappings
- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentTitleFieldName
The Microsoft SharePoint attribute field that contains the title of the document.
- Parameters:
documentTitleFieldName
- The Microsoft SharePoint attribute field that contains the title of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disableLocalGroups
TRUE
to disable local groups information.- Parameters:
disableLocalGroups
-TRUE
to disable local groups information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sslCertificateS3Path
The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint Server if you require a secure SSL connection.
You can generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.
- Parameters:
sslCertificateS3Path
- The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint Server if you require a secure SSL connection.You can generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sslCertificateS3Path
default SharePointConfiguration.Builder sslCertificateS3Path(Consumer<S3Path.Builder> sslCertificateS3Path) The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint Server if you require a secure SSL connection.
You can generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.
This is a convenience method that creates an instance of theS3Path.Builder
avoiding the need to create one manually viaS3Path.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosslCertificateS3Path(S3Path)
.- Parameters:
sslCertificateS3Path
- a consumer that will call methods onS3Path.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
Whether you want to connect to SharePoint Online using basic authentication of user name and password, or OAuth authentication of user name, password, client ID, and client secret, or AD App-only authentication of client secret.
- Parameters:
authenticationType
- Whether you want to connect to SharePoint Online using basic authentication of user name and password, or OAuth authentication of user name, password, client ID, and client secret, or AD App-only authentication of client secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
proxyConfiguration
Configuration information to connect to your Microsoft SharePoint site URLs via instance via a web proxy. You can use this option for SharePoint Server.
You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS.
Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager.
It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.
- Parameters:
proxyConfiguration
- Configuration information to connect to your Microsoft SharePoint site URLs via instance via a web proxy. You can use this option for SharePoint Server.You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS.
Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager.
It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proxyConfiguration
default SharePointConfiguration.Builder proxyConfiguration(Consumer<ProxyConfiguration.Builder> proxyConfiguration) Configuration information to connect to your Microsoft SharePoint site URLs via instance via a web proxy. You can use this option for SharePoint Server.
You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS.
Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager.
It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.
This is a convenience method that creates an instance of theProxyConfiguration.Builder
avoiding the need to create one manually viaProxyConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproxyConfiguration(ProxyConfiguration)
.- Parameters:
proxyConfiguration
- a consumer that will call methods onProxyConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also: