@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfluenceSpaceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for indexing Confluence spaces.
Constructor and Description |
---|
ConfluenceSpaceConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConfluenceSpaceConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCrawlArchivedSpaces()
Specifies whether Amazon Kendra should index archived spaces.
|
Boolean |
getCrawlPersonalSpaces()
Specifies whether Amazon Kendra should index personal spaces.
|
List<String> |
getExcludeSpaces()
A list of space keys of Confluence spaces.
|
List<String> |
getIncludeSpaces()
A list of space keys for Confluence spaces.
|
List<ConfluenceSpaceToIndexFieldMapping> |
getSpaceFieldMappings()
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.
|
int |
hashCode() |
Boolean |
isCrawlArchivedSpaces()
Specifies whether Amazon Kendra should index archived spaces.
|
Boolean |
isCrawlPersonalSpaces()
Specifies whether Amazon Kendra should index personal spaces.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCrawlArchivedSpaces(Boolean crawlArchivedSpaces)
Specifies whether Amazon Kendra should index archived spaces.
|
void |
setCrawlPersonalSpaces(Boolean crawlPersonalSpaces)
Specifies whether Amazon Kendra should index personal spaces.
|
void |
setExcludeSpaces(Collection<String> excludeSpaces)
A list of space keys of Confluence spaces.
|
void |
setIncludeSpaces(Collection<String> includeSpaces)
A list of space keys for Confluence spaces.
|
void |
setSpaceFieldMappings(Collection<ConfluenceSpaceToIndexFieldMapping> spaceFieldMappings)
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.
|
String |
toString()
Returns a string representation of this object.
|
ConfluenceSpaceConfiguration |
withCrawlArchivedSpaces(Boolean crawlArchivedSpaces)
Specifies whether Amazon Kendra should index archived spaces.
|
ConfluenceSpaceConfiguration |
withCrawlPersonalSpaces(Boolean crawlPersonalSpaces)
Specifies whether Amazon Kendra should index personal spaces.
|
ConfluenceSpaceConfiguration |
withExcludeSpaces(Collection<String> excludeSpaces)
A list of space keys of Confluence spaces.
|
ConfluenceSpaceConfiguration |
withExcludeSpaces(String... excludeSpaces)
A list of space keys of Confluence spaces.
|
ConfluenceSpaceConfiguration |
withIncludeSpaces(Collection<String> includeSpaces)
A list of space keys for Confluence spaces.
|
ConfluenceSpaceConfiguration |
withIncludeSpaces(String... includeSpaces)
A list of space keys for Confluence spaces.
|
ConfluenceSpaceConfiguration |
withSpaceFieldMappings(Collection<ConfluenceSpaceToIndexFieldMapping> spaceFieldMappings)
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.
|
ConfluenceSpaceConfiguration |
withSpaceFieldMappings(ConfluenceSpaceToIndexFieldMapping... spaceFieldMappings)
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.
|
public void setCrawlPersonalSpaces(Boolean crawlPersonalSpaces)
Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.
crawlPersonalSpaces
- Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in
personal spaces. If personal spaces are indexed, queries without user context information may return
restricted items from a personal space in their results. For more information, see Filtering on user
context.public Boolean getCrawlPersonalSpaces()
Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.
public ConfluenceSpaceConfiguration withCrawlPersonalSpaces(Boolean crawlPersonalSpaces)
Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.
crawlPersonalSpaces
- Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in
personal spaces. If personal spaces are indexed, queries without user context information may return
restricted items from a personal space in their results. For more information, see Filtering on user
context.public Boolean isCrawlPersonalSpaces()
Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.
public void setCrawlArchivedSpaces(Boolean crawlArchivedSpaces)
Specifies whether Amazon Kendra should index archived spaces.
crawlArchivedSpaces
- Specifies whether Amazon Kendra should index archived spaces.public Boolean getCrawlArchivedSpaces()
Specifies whether Amazon Kendra should index archived spaces.
public ConfluenceSpaceConfiguration withCrawlArchivedSpaces(Boolean crawlArchivedSpaces)
Specifies whether Amazon Kendra should index archived spaces.
crawlArchivedSpaces
- Specifies whether Amazon Kendra should index archived spaces.public Boolean isCrawlArchivedSpaces()
Specifies whether Amazon Kendra should index archived spaces.
public List<String> getIncludeSpaces()
A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the
space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise,
Amazon Kendra logs an error when the data source is synchronized. If a space is in both the
IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.
IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.public void setIncludeSpaces(Collection<String> includeSpaces)
A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the
space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise,
Amazon Kendra logs an error when the data source is synchronized. If a space is in both the
IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.
includeSpaces
- A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in
the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist.
Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both the
IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.public ConfluenceSpaceConfiguration withIncludeSpaces(String... includeSpaces)
A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the
space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise,
Amazon Kendra logs an error when the data source is synchronized. If a space is in both the
IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.
NOTE: This method appends the values to the existing list (if any). Use
setIncludeSpaces(java.util.Collection)
or withIncludeSpaces(java.util.Collection)
if you want
to override the existing values.
includeSpaces
- A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in
the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist.
Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both the
IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.public ConfluenceSpaceConfiguration withIncludeSpaces(Collection<String> includeSpaces)
A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the
space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise,
Amazon Kendra logs an error when the data source is synchronized. If a space is in both the
IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.
includeSpaces
- A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in
the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist.
Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both the
IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.public List<String> getExcludeSpaces()
A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the
space are not indexed. If a space is in both the ExcludeSpaces
and the IncludeSpaces
list, the space is excluded.
ExcludeSpaces
and the
IncludeSpaces
list, the space is excluded.public void setExcludeSpaces(Collection<String> excludeSpaces)
A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the
space are not indexed. If a space is in both the ExcludeSpaces
and the IncludeSpaces
list, the space is excluded.
excludeSpaces
- A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in
the space are not indexed. If a space is in both the ExcludeSpaces
and the
IncludeSpaces
list, the space is excluded.public ConfluenceSpaceConfiguration withExcludeSpaces(String... excludeSpaces)
A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the
space are not indexed. If a space is in both the ExcludeSpaces
and the IncludeSpaces
list, the space is excluded.
NOTE: This method appends the values to the existing list (if any). Use
setExcludeSpaces(java.util.Collection)
or withExcludeSpaces(java.util.Collection)
if you want
to override the existing values.
excludeSpaces
- A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in
the space are not indexed. If a space is in both the ExcludeSpaces
and the
IncludeSpaces
list, the space is excluded.public ConfluenceSpaceConfiguration withExcludeSpaces(Collection<String> excludeSpaces)
A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the
space are not indexed. If a space is in both the ExcludeSpaces
and the IncludeSpaces
list, the space is excluded.
excludeSpaces
- A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in
the space are not indexed. If a space is in both the ExcludeSpaces
and the
IncludeSpaces
list, the space is excluded.public List<ConfluenceSpaceToIndexFieldMapping> getSpaceFieldMappings()
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields,
use the UpdateIndex
API before you map to Confluence fields. For more information, see Mapping data source fields. The
Confluence data source field names must exist in your Confluence custom metadata.
If you specify the SpaceFieldMappings
parameter, you must specify at least one field mapping.
UpdateIndex
API before you map to Confluence fields. For more information,
see Mapping data source
fields. The Confluence data source field names must exist in your Confluence custom metadata.
If you specify the SpaceFieldMappings
parameter, you must specify at least one field
mapping.
public void setSpaceFieldMappings(Collection<ConfluenceSpaceToIndexFieldMapping> spaceFieldMappings)
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields,
use the UpdateIndex
API before you map to Confluence fields. For more information, see Mapping data source fields. The
Confluence data source field names must exist in your Confluence custom metadata.
If you specify the SpaceFieldMappings
parameter, you must specify at least one field mapping.
spaceFieldMappings
- Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Confluence fields. For more information,
see Mapping data source
fields. The Confluence data source field names must exist in your Confluence custom metadata.
If you specify the SpaceFieldMappings
parameter, you must specify at least one field mapping.
public ConfluenceSpaceConfiguration withSpaceFieldMappings(ConfluenceSpaceToIndexFieldMapping... spaceFieldMappings)
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields,
use the UpdateIndex
API before you map to Confluence fields. For more information, see Mapping data source fields. The
Confluence data source field names must exist in your Confluence custom metadata.
If you specify the SpaceFieldMappings
parameter, you must specify at least one field mapping.
NOTE: This method appends the values to the existing list (if any). Use
setSpaceFieldMappings(java.util.Collection)
or withSpaceFieldMappings(java.util.Collection)
if
you want to override the existing values.
spaceFieldMappings
- Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Confluence fields. For more information,
see Mapping data source
fields. The Confluence data source field names must exist in your Confluence custom metadata.
If you specify the SpaceFieldMappings
parameter, you must specify at least one field mapping.
public ConfluenceSpaceConfiguration withSpaceFieldMappings(Collection<ConfluenceSpaceToIndexFieldMapping> spaceFieldMappings)
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields,
use the UpdateIndex
API before you map to Confluence fields. For more information, see Mapping data source fields. The
Confluence data source field names must exist in your Confluence custom metadata.
If you specify the SpaceFieldMappings
parameter, you must specify at least one field mapping.
spaceFieldMappings
- Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Confluence fields. For more information,
see Mapping data source
fields. The Confluence data source field names must exist in your Confluence custom metadata.
If you specify the SpaceFieldMappings
parameter, you must specify at least one field mapping.
public String toString()
toString
in class Object
Object.toString()
public ConfluenceSpaceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.