Interface ConfluenceConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfluenceConfiguration.Builder,
,ConfluenceConfiguration> SdkBuilder<ConfluenceConfiguration.Builder,
,ConfluenceConfiguration> SdkPojo
- Enclosing class:
ConfluenceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConfluenceConfiguration.Builder
attachmentConfiguration
(Consumer<ConfluenceAttachmentConfiguration.Builder> attachmentConfiguration) Configuration information for indexing attachments to Confluence blogs and pages.attachmentConfiguration
(ConfluenceAttachmentConfiguration attachmentConfiguration) Configuration information for indexing attachments to Confluence blogs and pages.authenticationType
(String authenticationType) Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token.authenticationType
(ConfluenceAuthenticationType authenticationType) Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token.default ConfluenceConfiguration.Builder
blogConfiguration
(Consumer<ConfluenceBlogConfiguration.Builder> blogConfiguration) Configuration information for indexing Confluence blogs.blogConfiguration
(ConfluenceBlogConfiguration blogConfiguration) Configuration information for indexing Confluence blogs.exclusionPatterns
(String... exclusionPatterns) A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence.exclusionPatterns
(Collection<String> exclusionPatterns) A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence.inclusionPatterns
(String... inclusionPatterns) A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence.inclusionPatterns
(Collection<String> inclusionPatterns) A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence.default ConfluenceConfiguration.Builder
pageConfiguration
(Consumer<ConfluencePageConfiguration.Builder> pageConfiguration) Configuration information for indexing Confluence pages.pageConfiguration
(ConfluencePageConfiguration pageConfiguration) Configuration information for indexing Confluence pages.default ConfluenceConfiguration.Builder
proxyConfiguration
(Consumer<ProxyConfiguration.Builder> proxyConfiguration) Configuration information to connect to your Confluence URL instance via a web proxy.proxyConfiguration
(ProxyConfiguration proxyConfiguration) Configuration information to connect to your Confluence URL instance via a web proxy.The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the Confluence instance.The URL of your Confluence instance.default ConfluenceConfiguration.Builder
spaceConfiguration
(Consumer<ConfluenceSpaceConfiguration.Builder> spaceConfiguration) Configuration information for indexing Confluence spaces.spaceConfiguration
(ConfluenceSpaceConfiguration spaceConfiguration) Configuration information for indexing Confluence spaces.The version or the type of Confluence installation to connect to.version
(ConfluenceVersion version) The version or the type of Confluence installation to connect to.default ConfluenceConfiguration.Builder
vpcConfiguration
(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence.vpcConfiguration
(DataSourceVpcConfiguration vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence.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, sdkFieldNameToField, sdkFields
-
Method Details
-
serverUrl
The URL of your Confluence instance. Use the full URL of the server. For example, https://server.example.com:port/. You can also use an IP address, for example, https://192.168.1.113/.
- Parameters:
serverUrl
- The URL of your Confluence instance. Use the full URL of the server. For example, https://server.example.com:port/. You can also use an IP address, for example, https://192.168.1.113/.- 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 user name and password required to connect to the Confluence instance. If you use Confluence Cloud, you use a generated API token as the password.
You can also provide authentication credentials in the form of a personal access token. For more information, see Using a Confluence data source.
- Parameters:
secretArn
- The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the Confluence instance. If you use Confluence Cloud, you use a generated API token as the password.You can also provide authentication credentials in the form of a personal access token. For more information, see Using a Confluence data source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version or the type of Confluence installation to connect to.
- Parameters:
version
- The version or the type of Confluence installation to connect to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version or the type of Confluence installation to connect to.
- Parameters:
version
- The version or the type of Confluence installation to connect to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spaceConfiguration
Configuration information for indexing Confluence spaces.
- Parameters:
spaceConfiguration
- Configuration information for indexing Confluence spaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceConfiguration
default ConfluenceConfiguration.Builder spaceConfiguration(Consumer<ConfluenceSpaceConfiguration.Builder> spaceConfiguration) Configuration information for indexing Confluence spaces.
This is a convenience method that creates an instance of theConfluenceSpaceConfiguration.Builder
avoiding the need to create one manually viaConfluenceSpaceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospaceConfiguration(ConfluenceSpaceConfiguration)
.- Parameters:
spaceConfiguration
- a consumer that will call methods onConfluenceSpaceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pageConfiguration
Configuration information for indexing Confluence pages.
- Parameters:
pageConfiguration
- Configuration information for indexing Confluence pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageConfiguration
default ConfluenceConfiguration.Builder pageConfiguration(Consumer<ConfluencePageConfiguration.Builder> pageConfiguration) Configuration information for indexing Confluence pages.
This is a convenience method that creates an instance of theConfluencePageConfiguration.Builder
avoiding the need to create one manually viaConfluencePageConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topageConfiguration(ConfluencePageConfiguration)
.- Parameters:
pageConfiguration
- a consumer that will call methods onConfluencePageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blogConfiguration
Configuration information for indexing Confluence blogs.
- Parameters:
blogConfiguration
- Configuration information for indexing Confluence blogs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blogConfiguration
default ConfluenceConfiguration.Builder blogConfiguration(Consumer<ConfluenceBlogConfiguration.Builder> blogConfiguration) Configuration information for indexing Confluence blogs.
This is a convenience method that creates an instance of theConfluenceBlogConfiguration.Builder
avoiding the need to create one manually viaConfluenceBlogConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toblogConfiguration(ConfluenceBlogConfiguration)
.- Parameters:
blogConfiguration
- a consumer that will call methods onConfluenceBlogConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attachmentConfiguration
ConfluenceConfiguration.Builder attachmentConfiguration(ConfluenceAttachmentConfiguration attachmentConfiguration) Configuration information for indexing attachments to Confluence blogs and pages.
- Parameters:
attachmentConfiguration
- Configuration information for indexing attachments to Confluence blogs and pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentConfiguration
default ConfluenceConfiguration.Builder attachmentConfiguration(Consumer<ConfluenceAttachmentConfiguration.Builder> attachmentConfiguration) Configuration information for indexing attachments to Confluence blogs and pages.
This is a convenience method that creates an instance of theConfluenceAttachmentConfiguration.Builder
avoiding the need to create one manually viaConfluenceAttachmentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachmentConfiguration(ConfluenceAttachmentConfiguration)
.- Parameters:
attachmentConfiguration
- a consumer that will call methods onConfluenceAttachmentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfiguration
Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.
- Parameters:
vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default ConfluenceConfiguration.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. 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:
-
inclusionPatterns
A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
- Parameters:
inclusionPatterns
- A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content 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 blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
- Parameters:
inclusionPatterns
- A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content 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 blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
- Parameters:
exclusionPatterns
- A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content 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 blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
- Parameters:
exclusionPatterns
- A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proxyConfiguration
Configuration information to connect to your Confluence URL instance via a web proxy. You can use this option for Confluence Server.
You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS.
Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager.
It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.
- Parameters:
proxyConfiguration
- Configuration information to connect to your Confluence URL instance via a web proxy. You can use this option for Confluence Server.You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS.
Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager.
It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proxyConfiguration
default ConfluenceConfiguration.Builder proxyConfiguration(Consumer<ProxyConfiguration.Builder> proxyConfiguration) Configuration information to connect to your Confluence URL instance via a web proxy. You can use this option for Confluence Server.
You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS.
Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager.
It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.
This is a convenience method that creates an instance of theProxyConfiguration.Builder
avoiding the need to create one manually viaProxyConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproxyConfiguration(ProxyConfiguration)
.- Parameters:
proxyConfiguration
- a consumer that will call methods onProxyConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token. You can use a personal access token for Confluence Server.
- Parameters:
authenticationType
- Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token. You can use a personal access token for Confluence Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token. You can use a personal access token for Confluence Server.
- Parameters:
authenticationType
- Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token. You can use a personal access token for Confluence Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-