@Generated(value="software.amazon.awssdk:codegen") public final class SharePointConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SharePointConfiguration.Builder,SharePointConfiguration>
Provides the configuration information to connect to Microsoft SharePoint as your data source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SharePointConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
authenticationTypeAsString()
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.
|
static SharePointConfiguration.Builder |
builder() |
Boolean |
crawlAttachments()
TRUE to index document attachments. |
Boolean |
disableLocalGroups()
TRUE to disable local groups information. |
String |
documentTitleFieldName()
The Microsoft SharePoint attribute field that contains the title of the document.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
exclusionPatterns()
A list of regular expression patterns to exclude certain documents in your SharePoint.
|
List<DataSourceToIndexFieldMapping> |
fieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map SharePoint 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.
|
boolean |
hasUrls()
For responses, this returns true if the service returned a value for the Urls property.
|
List<String> |
inclusionPatterns()
A list of regular expression patterns to include certain documents in your SharePoint.
|
ProxyConfiguration |
proxyConfiguration()
Configuration information to connect to your Microsoft SharePoint site URLs via instance via a web proxy.
|
List<SdkField<?>> |
sdkFields() |
String |
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.
|
static Class<? extends SharePointConfiguration.Builder> |
serializableBuilderClass() |
SharePointVersion |
sharePointVersion()
The version of Microsoft SharePoint that you use.
|
String |
sharePointVersionAsString()
The version of Microsoft SharePoint that you use.
|
S3Path |
sslCertificateS3Path()
The path to the SSL certificate stored in an Amazon S3 bucket.
|
SharePointConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
urls()
The Microsoft SharePoint site URLs for the documents you want to index.
|
Boolean |
useChangeLog()
TRUE to use the SharePoint change log to determine which documents require updating in the index. |
DataSourceVpcConfiguration |
vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SharePointVersion sharePointVersion()
The version of Microsoft SharePoint that you use.
If the service returns an enum value that is not available in the current SDK version, sharePointVersion
will return SharePointVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sharePointVersionAsString().
SharePointVersionpublic final String sharePointVersionAsString()
The version of Microsoft SharePoint that you use.
If the service returns an enum value that is not available in the current SDK version, sharePointVersion
will return SharePointVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sharePointVersionAsString().
SharePointVersionpublic final boolean hasUrls()
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> urls()
The Microsoft SharePoint site URLs for the documents you want to index.
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 hasUrls() method.
public final String 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.
public final Boolean crawlAttachments()
TRUE to index document attachments.
TRUE to index document attachments.public final 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.
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 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 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.
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 regex applies to the display URL of the SharePoint document.
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 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.
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 regex applies to the display URL of the SharePoint document.
public final DataSourceVpcConfiguration vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.
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 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.
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 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 final String documentTitleFieldName()
The Microsoft SharePoint attribute field that contains the title of the document.
public final Boolean disableLocalGroups()
TRUE to disable local groups information.
TRUE to disable local groups information.public final S3Path 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.
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.
public final 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.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return SharePointOnlineAuthenticationType.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from authenticationTypeAsString().
SharePointOnlineAuthenticationTypepublic final String authenticationTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return SharePointOnlineAuthenticationType.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from authenticationTypeAsString().
SharePointOnlineAuthenticationTypepublic final ProxyConfiguration 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.
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.
public SharePointConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SharePointConfiguration.Builder,SharePointConfiguration>public static SharePointConfiguration.Builder builder()
public static Class<? extends SharePointConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.