Interface AlfrescoConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AlfrescoConfiguration.Builder,
,AlfrescoConfiguration> SdkBuilder<AlfrescoConfiguration.Builder,
,AlfrescoConfiguration> SdkPojo
- Enclosing class:
AlfrescoConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionblogFieldMappings
(Collection<DataSourceToIndexFieldMapping> blogFieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco blogs to Amazon Kendra index field names.blogFieldMappings
(Consumer<DataSourceToIndexFieldMapping.Builder>... blogFieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco blogs to Amazon Kendra index field names.blogFieldMappings
(DataSourceToIndexFieldMapping... blogFieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco blogs to Amazon Kendra index field names.crawlComments
(Boolean crawlComments) TRUE
to index comments of blogs and other content.crawlSystemFolders
(Boolean crawlSystemFolders) TRUE
to index shared files.documentLibraryFieldMappings
(Collection<DataSourceToIndexFieldMapping> documentLibraryFieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco document libraries to Amazon Kendra index field names.documentLibraryFieldMappings
(Consumer<DataSourceToIndexFieldMapping.Builder>... documentLibraryFieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco document libraries to Amazon Kendra index field names.documentLibraryFieldMappings
(DataSourceToIndexFieldMapping... documentLibraryFieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco document libraries to Amazon Kendra index field names.entityFilter
(Collection<AlfrescoEntity> entityFilter) Specify whether to index document libraries, wikis, or blogs.entityFilter
(AlfrescoEntity... entityFilter) Specify whether to index document libraries, wikis, or blogs.entityFilterWithStrings
(String... entityFilter) Specify whether to index document libraries, wikis, or blogs.entityFilterWithStrings
(Collection<String> entityFilter) Specify whether to index document libraries, wikis, or blogs.exclusionPatterns
(String... exclusionPatterns) A list of regular expression patterns to exclude certain files in your Alfresco data source.exclusionPatterns
(Collection<String> exclusionPatterns) A list of regular expression patterns to exclude certain files in your Alfresco data source.inclusionPatterns
(String... inclusionPatterns) A list of regular expression patterns to include certain files in your Alfresco data source.inclusionPatterns
(Collection<String> inclusionPatterns) A list of regular expression patterns to include certain files in your Alfresco data source.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 identifier of the Alfresco site.The URL of the Alfresco site.default AlfrescoConfiguration.Builder
sslCertificateS3Path
(Consumer<S3Path.Builder> sslCertificateS3Path) The path to the SSL certificate stored in an Amazon S3 bucket.sslCertificateS3Path
(S3Path sslCertificateS3Path) The path to the SSL certificate stored in an Amazon S3 bucket.default AlfrescoConfiguration.Builder
vpcConfiguration
(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco.vpcConfiguration
(DataSourceVpcConfiguration vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco.wikiFieldMappings
(Collection<DataSourceToIndexFieldMapping> wikiFieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco wikis to Amazon Kendra index field names.wikiFieldMappings
(Consumer<DataSourceToIndexFieldMapping.Builder>... wikiFieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco wikis to Amazon Kendra index field names.wikiFieldMappings
(DataSourceToIndexFieldMapping... wikiFieldMappings) 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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
siteUrl
The URL of the Alfresco site. For example, https://hostname:8080.
- Parameters:
siteUrl
- The URL of the Alfresco site. For example, https://hostname:8080.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
siteId
The identifier of the Alfresco site. For example, my-site.
- Parameters:
siteId
- The identifier of the Alfresco site. For example, my-site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
sslCertificateS3Path
default AlfrescoConfiguration.Builder sslCertificateS3Path(Consumer<S3Path.Builder> 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.
This is a convenience method that creates an instance of theS3Path.Builder
avoiding the need to create one manually viaS3Path.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosslCertificateS3Path(S3Path)
.- Parameters:
sslCertificateS3Path
- a consumer that will call methods onS3Path.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
crawlSystemFolders
TRUE
to index shared files.- Parameters:
crawlSystemFolders
-TRUE
to index shared files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crawlComments
TRUE
to index comments of blogs and other content.- Parameters:
crawlComments
-TRUE
to index comments of blogs and other content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityFilterWithStrings
Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.
- Parameters:
entityFilter
- Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityFilterWithStrings
Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.
- Parameters:
entityFilter
- Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityFilter
Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.
- Parameters:
entityFilter
- Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityFilter
Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.
- Parameters:
entityFilter
- Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentLibraryFieldMappings
AlfrescoConfiguration.Builder documentLibraryFieldMappings(Collection<DataSourceToIndexFieldMapping> 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.- Parameters:
documentLibraryFieldMappings
- A list ofDataSourceToIndexFieldMapping
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentLibraryFieldMappings
AlfrescoConfiguration.Builder documentLibraryFieldMappings(DataSourceToIndexFieldMapping... 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.- Parameters:
documentLibraryFieldMappings
- A list ofDataSourceToIndexFieldMapping
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentLibraryFieldMappings
AlfrescoConfiguration.Builder documentLibraryFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... documentLibraryFieldMappings) A list of
This is a convenience method that creates an instance of theDataSourceToIndexFieldMapping
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.DataSourceToIndexFieldMapping.Builder
avoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentLibraryFieldMappings(List<DataSourceToIndexFieldMapping>)
.- Parameters:
documentLibraryFieldMappings
- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blogFieldMappings
AlfrescoConfiguration.Builder blogFieldMappings(Collection<DataSourceToIndexFieldMapping> 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.- Parameters:
blogFieldMappings
- A list ofDataSourceToIndexFieldMapping
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
blogFieldMappings
- A list ofDataSourceToIndexFieldMapping
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blogFieldMappings
AlfrescoConfiguration.Builder blogFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... blogFieldMappings) A list of
This is a convenience method that creates an instance of theDataSourceToIndexFieldMapping
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.DataSourceToIndexFieldMapping.Builder
avoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toblogFieldMappings(List<DataSourceToIndexFieldMapping>)
.- Parameters:
blogFieldMappings
- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
wikiFieldMappings
AlfrescoConfiguration.Builder wikiFieldMappings(Collection<DataSourceToIndexFieldMapping> 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.- Parameters:
wikiFieldMappings
- A list ofDataSourceToIndexFieldMapping
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
wikiFieldMappings
- A list ofDataSourceToIndexFieldMapping
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wikiFieldMappings
AlfrescoConfiguration.Builder wikiFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... wikiFieldMappings) A list of
This is a convenience method that creates an instance of theDataSourceToIndexFieldMapping
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.DataSourceToIndexFieldMapping.Builder
avoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towikiFieldMappings(List<DataSourceToIndexFieldMapping>)
.- Parameters:
wikiFieldMappings
- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco. For more information, see Configuring a VPC.
- Parameters:
vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco. For more information, see Configuring a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default AlfrescoConfiguration.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco. For more information, see Configuring a VPC.
This is a convenience method that creates an instance of theDataSourceVpcConfiguration.Builder
avoiding the need to create one manually viaDataSourceVpcConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(DataSourceVpcConfiguration)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onDataSourceVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-