Class AlfrescoConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AlfrescoConfiguration.Builder,
AlfrescoConfiguration>
Provides the configuration information to connect to Alfresco as your data source.
Support for AlfrescoConfiguration
ended May 2023. We recommend migrating to or using the Alfresco data
source template schema / TemplateConfiguration API.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionA list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco blogs to Amazon Kendra index field names.builder()
final Boolean
TRUE
to index comments of blogs and other content.final Boolean
TRUE
to index shared files.A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco document libraries to Amazon Kendra index field names.final List
<AlfrescoEntity> Specify whether to index document libraries, wikis, or blogs.Specify whether to index document libraries, wikis, or blogs.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.A list of regular expression patterns to exclude certain files in your Alfresco data source.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the BlogFieldMappings property.final boolean
For responses, this returns true if the service returned a value for the DocumentLibraryFieldMappings property.final boolean
For responses, this returns true if the service returned a value for the EntityFilter property.final boolean
For responses, this returns true if the service returned a value for the ExclusionPatterns property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the InclusionPatterns property.final boolean
For responses, this returns true if the service returned a value for the WikiFieldMappings property.A list of regular expression patterns to include certain files in your Alfresco data source.final String
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Alfresco data source.static Class
<? extends AlfrescoConfiguration.Builder> final String
siteId()
The identifier of the Alfresco site.final String
siteUrl()
The URL of the Alfresco site.final S3Path
The path to the SSL certificate stored in an Amazon S3 bucket.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco.A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco wikis to Amazon Kendra index field names.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
siteUrl
The URL of the Alfresco site. For example, https://hostname:8080.
- Returns:
- The URL of the Alfresco site. For example, https://hostname:8080.
-
siteId
The identifier of the Alfresco site. For example, my-site.
- Returns:
- The identifier of the Alfresco site. For example, my-site.
-
secretArn
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Alfresco data source. The secret must contain a JSON structure with the following keys:
-
username—The user name of the Alfresco account.
-
password—The password of the Alfresco account.
- Returns:
- The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to
connect to your Alfresco data source. The secret must contain a JSON structure with the following
keys:
-
username—The user name of the Alfresco account.
-
password—The password of the Alfresco account.
-
-
-
sslCertificateS3Path
The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to Alfresco if you require a secure SSL connection.
You can simply 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.
- Returns:
- The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to Alfresco if you
require a secure SSL connection.
You can simply 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.
-
crawlSystemFolders
TRUE
to index shared files.- Returns:
TRUE
to index shared files.
-
crawlComments
TRUE
to index comments of blogs and other content.- Returns:
TRUE
to index comments of blogs and other content.
-
entityFilter
Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.
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
hasEntityFilter()
method.- Returns:
- Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.
-
hasEntityFilter
public final boolean hasEntityFilter()For responses, this returns true if the service returned a value for the EntityFilter property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
entityFilterAsStrings
Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.
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
hasEntityFilter()
method.- Returns:
- Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.
-
hasDocumentLibraryFieldMappings
public final boolean hasDocumentLibraryFieldMappings()For responses, this returns true if the service returned a value for the DocumentLibraryFieldMappings property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
documentLibraryFieldMappings
A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco document libraries to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco 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
hasDocumentLibraryFieldMappings()
method.- Returns:
- A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco document libraries to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco custom metadata.
-
hasBlogFieldMappings
public final boolean hasBlogFieldMappings()For responses, this returns true if the service returned a value for the BlogFieldMappings property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
blogFieldMappings
A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco blogs to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco 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
hasBlogFieldMappings()
method.- Returns:
- A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco blogs to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco custom metadata.
-
hasWikiFieldMappings
public final boolean hasWikiFieldMappings()For responses, this returns true if the service returned a value for the WikiFieldMappings property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
wikiFieldMappings
A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco wikis to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco 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
hasWikiFieldMappings()
method.- Returns:
- A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco wikis to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco custom metadata.
-
hasInclusionPatterns
public final boolean hasInclusionPatterns()For responses, this returns true if the service returned a value for the InclusionPatterns property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
inclusionPatterns
A list of regular expression patterns to include certain files in your Alfresco data source. 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.
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.- Returns:
- A list of regular expression patterns to include certain files in your Alfresco data source. 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.
-
hasExclusionPatterns
public final boolean hasExclusionPatterns()For responses, this returns true if the service returned a value for the ExclusionPatterns property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
exclusionPatterns
A list of regular expression patterns to exclude certain files in your Alfresco data source. 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.
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.- Returns:
- A list of regular expression patterns to exclude certain files in your Alfresco data source. 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.
-
vpcConfiguration
Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco. For more information, see Configuring a VPC.
- Returns:
- Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco. For more information, see Configuring a VPC.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AlfrescoConfiguration.Builder,
AlfrescoConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-