@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkDocsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information to connect to Amazon WorkDocs as your data source.
Amazon WorkDocs connector is available in Oregon, North Virginia, Sydney, Singapore and Ireland regions.
Constructor and Description |
---|
WorkDocsConfiguration() |
Modifier and Type | Method and Description |
---|---|
WorkDocsConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCrawlComments()
TRUE to include comments on documents in your index. |
List<String> |
getExclusionPatterns()
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository.
|
List<DataSourceToIndexFieldMapping> |
getFieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map Amazon WorkDocs field names to custom index
field names in Amazon Kendra. |
List<String> |
getInclusionPatterns()
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository.
|
String |
getOrganizationId()
The identifier of the directory corresponding to your Amazon WorkDocs site repository.
|
Boolean |
getUseChangeLog()
TRUE to use the change logs to update documents in your index instead of scanning all documents. |
int |
hashCode() |
Boolean |
isCrawlComments()
TRUE to include comments on documents in your index. |
Boolean |
isUseChangeLog()
TRUE to use the change logs to update documents in your index instead of scanning all documents. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCrawlComments(Boolean crawlComments)
TRUE to include comments on documents in your index. |
void |
setExclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository.
|
void |
setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map Amazon WorkDocs field names to custom index
field names in Amazon Kendra. |
void |
setInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository.
|
void |
setOrganizationId(String organizationId)
The identifier of the directory corresponding to your Amazon WorkDocs site repository.
|
void |
setUseChangeLog(Boolean useChangeLog)
TRUE to use the change logs to update documents in your index instead of scanning all documents. |
String |
toString()
Returns a string representation of this object.
|
WorkDocsConfiguration |
withCrawlComments(Boolean crawlComments)
TRUE to include comments on documents in your index. |
WorkDocsConfiguration |
withExclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository.
|
WorkDocsConfiguration |
withExclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository.
|
WorkDocsConfiguration |
withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map Amazon WorkDocs field names to custom index
field names in Amazon Kendra. |
WorkDocsConfiguration |
withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map Amazon WorkDocs field names to custom index
field names in Amazon Kendra. |
WorkDocsConfiguration |
withInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository.
|
WorkDocsConfiguration |
withInclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository.
|
WorkDocsConfiguration |
withOrganizationId(String organizationId)
The identifier of the directory corresponding to your Amazon WorkDocs site repository.
|
WorkDocsConfiguration |
withUseChangeLog(Boolean useChangeLog)
TRUE to use the change logs to update documents in your index instead of scanning all documents. |
public void setOrganizationId(String organizationId)
The identifier of the directory corresponding to your Amazon WorkDocs site repository.
You can find the organization ID in the AWS Directory Service by going to Active Directory, then Directories. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.
organizationId
- The identifier of the directory corresponding to your Amazon WorkDocs site repository.
You can find the organization ID in the AWS Directory Service by going to Active Directory, then Directories. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.
public String getOrganizationId()
The identifier of the directory corresponding to your Amazon WorkDocs site repository.
You can find the organization ID in the AWS Directory Service by going to Active Directory, then Directories. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.
You can find the organization ID in the AWS Directory Service by going to Active Directory, then Directories. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.
public WorkDocsConfiguration withOrganizationId(String organizationId)
The identifier of the directory corresponding to your Amazon WorkDocs site repository.
You can find the organization ID in the AWS Directory Service by going to Active Directory, then Directories. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.
organizationId
- The identifier of the directory corresponding to your Amazon WorkDocs site repository.
You can find the organization ID in the AWS Directory Service by going to Active Directory, then Directories. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.
public void setCrawlComments(Boolean crawlComments)
TRUE
to include comments on documents in your index. Including comments in your index means each
comment is a document that can be searched on.
The default is set to FALSE
.
crawlComments
- TRUE
to include comments on documents in your index. Including comments in your index means
each comment is a document that can be searched on.
The default is set to FALSE
.
public Boolean getCrawlComments()
TRUE
to include comments on documents in your index. Including comments in your index means each
comment is a document that can be searched on.
The default is set to FALSE
.
TRUE
to include comments on documents in your index. Including comments in your index means
each comment is a document that can be searched on.
The default is set to FALSE
.
public WorkDocsConfiguration withCrawlComments(Boolean crawlComments)
TRUE
to include comments on documents in your index. Including comments in your index means each
comment is a document that can be searched on.
The default is set to FALSE
.
crawlComments
- TRUE
to include comments on documents in your index. Including comments in your index means
each comment is a document that can be searched on.
The default is set to FALSE
.
public Boolean isCrawlComments()
TRUE
to include comments on documents in your index. Including comments in your index means each
comment is a document that can be searched on.
The default is set to FALSE
.
TRUE
to include comments on documents in your index. Including comments in your index means
each comment is a document that can be searched on.
The default is set to FALSE
.
public void setUseChangeLog(Boolean useChangeLog)
TRUE
to use the change logs to update documents in your index instead of scanning all documents.
If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.
The default is set to FALSE
.
useChangeLog
- TRUE
to use the change logs to update documents in your index instead of scanning all
documents.
If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.
The default is set to FALSE
.
public Boolean getUseChangeLog()
TRUE
to use the change logs to update documents in your index instead of scanning all documents.
If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.
The default is set to FALSE
.
TRUE
to use the change logs to update documents in your index instead of scanning all
documents.
If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.
The default is set to FALSE
.
public WorkDocsConfiguration withUseChangeLog(Boolean useChangeLog)
TRUE
to use the change logs to update documents in your index instead of scanning all documents.
If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.
The default is set to FALSE
.
useChangeLog
- TRUE
to use the change logs to update documents in your index instead of scanning all
documents.
If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.
The default is set to FALSE
.
public Boolean isUseChangeLog()
TRUE
to use the change logs to update documents in your index instead of scanning all documents.
If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.
The default is set to FALSE
.
TRUE
to use the change logs to update documents in your index instead of scanning all
documents.
If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.
The default is set to FALSE
.
public List<String> getInclusionPatterns()
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.
public void setInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.
inclusionPatterns
- A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository.
Files that match the patterns are included in the index. Files that don't match the patterns are excluded
from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion
pattern takes precedence and the file isn’t included in the index.public WorkDocsConfiguration withInclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.
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 files in your Amazon WorkDocs site repository.
Files that match the patterns are included in the index. Files that don't match the patterns are excluded
from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion
pattern takes precedence and the file isn’t included in the index.public WorkDocsConfiguration withInclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.
inclusionPatterns
- A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository.
Files that match the patterns are included in the index. Files that don't match the patterns are excluded
from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion
pattern takes precedence and the file isn’t included in the index.public List<String> getExclusionPatterns()
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.
public void setExclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.
exclusionPatterns
- A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository.
Files that match the patterns are excluded from the index. Files that don’t match the patterns are
included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion
pattern takes precedence and the file isn’t included in the index.public WorkDocsConfiguration withExclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.
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 files in your Amazon WorkDocs site repository.
Files that match the patterns are excluded from the index. Files that don’t match the patterns are
included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion
pattern takes precedence and the file isn’t included in the index.public WorkDocsConfiguration withExclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.
exclusionPatterns
- A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository.
Files that match the patterns are excluded from the index. Files that don’t match the patterns are
included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion
pattern takes precedence and the file isn’t included in the index.public List<DataSourceToIndexFieldMapping> getFieldMappings()
A list of DataSourceToIndexFieldMapping
objects that map Amazon WorkDocs field names to custom index
field names in Amazon Kendra. You must first create the custom index fields using the UpdateIndex
operation before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The Amazon
WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.
DataSourceToIndexFieldMapping
objects that map Amazon WorkDocs field names to
custom index field names in Amazon Kendra. You must first create the custom index fields using the
UpdateIndex
operation before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields.
The Amazon WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.public void setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of DataSourceToIndexFieldMapping
objects that map Amazon WorkDocs field names to custom index
field names in Amazon Kendra. You must first create the custom index fields using the UpdateIndex
operation before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The Amazon
WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.
fieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map Amazon WorkDocs field names to
custom index field names in Amazon Kendra. You must first create the custom index fields using the
UpdateIndex
operation before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The
Amazon WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.public WorkDocsConfiguration withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
A list of DataSourceToIndexFieldMapping
objects that map Amazon WorkDocs field names to custom index
field names in Amazon Kendra. You must first create the custom index fields using the UpdateIndex
operation before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The Amazon
WorkDocs data source field names need to exist in your Amazon WorkDocs 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 Amazon WorkDocs field names to
custom index field names in Amazon Kendra. You must first create the custom index fields using the
UpdateIndex
operation before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The
Amazon WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.public WorkDocsConfiguration withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
A list of DataSourceToIndexFieldMapping
objects that map Amazon WorkDocs field names to custom index
field names in Amazon Kendra. You must first create the custom index fields using the UpdateIndex
operation before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The Amazon
WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.
fieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map Amazon WorkDocs field names to
custom index field names in Amazon Kendra. You must first create the custom index fields using the
UpdateIndex
operation before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The
Amazon WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.public String toString()
toString
in class Object
Object.toString()
public WorkDocsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.