@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 index document attachments. |
Boolean |
getDisableLocalGroups()
TRUE to disable local groups information. |
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 an Secrets Manager secret that contains the user name and password required to
connect to the SharePoint instance.
|
String |
getSharePointVersion()
The version of Microsoft SharePoint that you use.
|
S3Path |
getSslCertificateS3Path()
The path to the SSL certificate stored in an Amazon S3 bucket.
|
List<String> |
getUrls()
The Microsoft SharePoint site URLs for the documents you want to indext.
|
Boolean |
getUseChangeLog()
TRUE to use the SharePoint change log to determine which documents require updating in the index. |
DataSourceVpcConfiguration |
getVpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint.
|
int |
hashCode() |
Boolean |
isCrawlAttachments()
TRUE to index document attachments. |
Boolean |
isDisableLocalGroups()
TRUE to disable local groups information. |
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 index document attachments. |
void |
setDisableLocalGroups(Boolean disableLocalGroups)
TRUE to disable local groups information. |
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 an Secrets Manager secret that contains the user name and password required to
connect to the SharePoint instance.
|
void |
setSharePointVersion(String sharePointVersion)
The version of Microsoft SharePoint that you use.
|
void |
setSslCertificateS3Path(S3Path sslCertificateS3Path)
The path to the SSL certificate stored in an Amazon S3 bucket.
|
void |
setUrls(Collection<String> urls)
The Microsoft SharePoint site URLs for the documents you want to indext.
|
void |
setUseChangeLog(Boolean useChangeLog)
TRUE to use the SharePoint change log to determine which documents require updating in the index. |
void |
setVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint.
|
String |
toString()
Returns a string representation of this object.
|
SharePointConfiguration |
withCrawlAttachments(Boolean crawlAttachments)
TRUE to index document attachments. |
SharePointConfiguration |
withDisableLocalGroups(Boolean disableLocalGroups)
TRUE to disable local groups information. |
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 an Secrets Manager secret that contains the user name and password required to
connect to the SharePoint instance.
|
SharePointConfiguration |
withSharePointVersion(SharePointVersion sharePointVersion)
The version of Microsoft SharePoint that you use.
|
SharePointConfiguration |
withSharePointVersion(String sharePointVersion)
The version of Microsoft SharePoint that you use.
|
SharePointConfiguration |
withSslCertificateS3Path(S3Path sslCertificateS3Path)
The path to the SSL certificate stored in an Amazon S3 bucket.
|
SharePointConfiguration |
withUrls(Collection<String> urls)
The Microsoft SharePoint site URLs for the documents you want to indext.
|
SharePointConfiguration |
withUrls(String... urls)
The Microsoft SharePoint site URLs for the documents you want to indext.
|
SharePointConfiguration |
withUseChangeLog(Boolean useChangeLog)
TRUE to use the SharePoint change log to determine which documents require updating in the index. |
SharePointConfiguration |
withVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint.
|
public void setSharePointVersion(String sharePointVersion)
The version of Microsoft SharePoint that you use.
sharePointVersion
- The version of Microsoft SharePoint that you use.SharePointVersion
public String getSharePointVersion()
The version of Microsoft SharePoint that you use.
SharePointVersion
public SharePointConfiguration withSharePointVersion(String sharePointVersion)
The version of Microsoft SharePoint that you use.
sharePointVersion
- The version of Microsoft SharePoint that you use.SharePointVersion
public SharePointConfiguration withSharePointVersion(SharePointVersion sharePointVersion)
The version of Microsoft SharePoint that you use.
sharePointVersion
- The version of Microsoft SharePoint that you use.SharePointVersion
public List<String> getUrls()
The Microsoft SharePoint site URLs for the documents you want to indext.
public void setUrls(Collection<String> urls)
The Microsoft SharePoint site URLs for the documents you want to indext.
urls
- The Microsoft SharePoint site URLs for the documents you want to indext.public SharePointConfiguration withUrls(String... urls)
The Microsoft SharePoint site URLs for the documents you want to indext.
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 Microsoft SharePoint site URLs for the documents you want to indext.public SharePointConfiguration withUrls(Collection<String> urls)
The Microsoft SharePoint site URLs for the documents you want to indext.
urls
- The Microsoft SharePoint site URLs for the documents you want to indext.public void setSecretArn(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. 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.
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. 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.public String getSecretArn()
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance. 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.
public SharePointConfiguration withSecretArn(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. 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.
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. 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.public void setCrawlAttachments(Boolean crawlAttachments)
TRUE
to index document attachments.
crawlAttachments
- TRUE
to index document attachments.public Boolean getCrawlAttachments()
TRUE
to index document attachments.
TRUE
to index document attachments.public SharePointConfiguration withCrawlAttachments(Boolean crawlAttachments)
TRUE
to index document attachments.
crawlAttachments
- TRUE
to index document attachments.public Boolean isCrawlAttachments()
TRUE
to index document attachments.
TRUE
to index document attachments.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 applies to the display URL of the SharePoint document.
The regex applies 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 applies 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 applies 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 applies 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 applies 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 applies 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 applies 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 applies to the display URL of the SharePoint document.
The regex applies 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 applies 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 applies 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 applies 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 applies 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 applies 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 applies to the display URL of the SharePoint document.
public void setVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.
vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For
more information, see Configuring a VPC.public DataSourceVpcConfiguration getVpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.
public SharePointConfiguration withVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.
vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For
more information, see Configuring a VPC.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)
TRUE
to disable local groups information.
disableLocalGroups
- TRUE
to disable local groups information.public Boolean getDisableLocalGroups()
TRUE
to disable local groups information.
TRUE
to disable local groups information.public SharePointConfiguration withDisableLocalGroups(Boolean disableLocalGroups)
TRUE
to disable local groups information.
disableLocalGroups
- TRUE
to disable local groups information.public Boolean isDisableLocalGroups()
TRUE
to disable local groups information.
TRUE
to disable local groups information.public void setSslCertificateS3Path(S3Path sslCertificateS3Path)
The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint.
sslCertificateS3Path
- The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint.public S3Path getSslCertificateS3Path()
The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint.
public SharePointConfiguration withSslCertificateS3Path(S3Path sslCertificateS3Path)
The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint.
sslCertificateS3Path
- The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint.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.