@Generated(value="software.amazon.awssdk:codegen") public final class ConfluenceSpaceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfluenceSpaceConfiguration.Builder,ConfluenceSpaceConfiguration>
Specifies the configuration for indexing Confluence spaces.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfluenceSpaceConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConfluenceSpaceConfiguration.Builder |
builder() |
Boolean |
crawlArchivedSpaces()
Specifies whether Amazon Kendra should index archived spaces.
|
Boolean |
crawlPersonalSpaces()
Specifies whether Amazon Kendra should index personal spaces.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
excludeSpaces()
A list of space keys of Confluence spaces.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludeSpaces()
Returns true if the ExcludeSpaces property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasIncludeSpaces()
Returns true if the IncludeSpaces property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasSpaceFieldMappings()
Returns true if the SpaceFieldMappings property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<String> |
includeSpaces()
A list of space keys for Confluence spaces.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConfluenceSpaceConfiguration.Builder> |
serializableBuilderClass() |
List<ConfluenceSpaceToIndexFieldMapping> |
spaceFieldMappings()
Defines how space metadata fields should be mapped to index fields.
|
ConfluenceSpaceConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final Boolean crawlArchivedSpaces()
Specifies whether Amazon Kendra should index archived spaces.
public final boolean hasIncludeSpaces()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIncludeSpaces() to see if a value was sent in this field.
IncludeSpaces and the ExcludeSpaces list, the space is excluded.public final boolean hasExcludeSpaces()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExcludeSpaces() to see if a value was sent in this field.
ExcludeSpaces and the
IncludeSpaces list, the space is excluded.public final boolean hasSpaceFieldMappings()
public final List<ConfluenceSpaceToIndexFieldMapping> spaceFieldMappings()
Defines how space metadata fields should be mapped to index fields. Before you can map a field, you must first
create an index field with a matching type using the console or the UpdateIndex operation.
If you specify the SpaceFieldMappings parameter, you must specify at least one field mapping.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSpaceFieldMappings() to see if a value was sent in this field.
UpdateIndex
operation.
If you specify the SpaceFieldMappings parameter, you must specify at least one field
mapping.
public ConfluenceSpaceConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConfluenceSpaceConfiguration.Builder,ConfluenceSpaceConfiguration>public static ConfluenceSpaceConfiguration.Builder builder()
public static Class<? extends ConfluenceSpaceConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.