@Generated(value="software.amazon.awssdk:codegen") public final class ConfluenceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfluenceConfiguration.Builder,ConfluenceConfiguration>
Provides the configuration information to connect to Confluence as your data source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfluenceConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
ConfluenceAttachmentConfiguration |
attachmentConfiguration()
Configuration information for indexing attachments to Confluence blogs and pages.
|
ConfluenceAuthenticationType |
authenticationType()
Whether you want to connect to Confluence using basic authentication of user name and password, or a personal
access token.
|
String |
authenticationTypeAsString()
Whether you want to connect to Confluence using basic authentication of user name and password, or a personal
access token.
|
ConfluenceBlogConfiguration |
blogConfiguration()
Configuration information for indexing Confluence blogs.
|
static ConfluenceConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
exclusionPatterns()
A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your
Confluence.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExclusionPatterns()
For responses, this returns true if the service returned a value for the ExclusionPatterns property.
|
int |
hashCode() |
boolean |
hasInclusionPatterns()
For responses, this returns true if the service returned a value for the InclusionPatterns property.
|
List<String> |
inclusionPatterns()
A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your
Confluence.
|
ConfluencePageConfiguration |
pageConfiguration()
Configuration information for indexing Confluence pages.
|
ProxyConfiguration |
proxyConfiguration()
Configuration information to connect to your Confluence URL instance via a web proxy.
|
List<SdkField<?>> |
sdkFields() |
String |
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.
|
static Class<? extends ConfluenceConfiguration.Builder> |
serializableBuilderClass() |
String |
serverUrl()
The URL of your Confluence instance.
|
ConfluenceSpaceConfiguration |
spaceConfiguration()
Configuration information for indexing Confluence spaces.
|
ConfluenceConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ConfluenceVersion |
version()
The version or the type of Confluence installation to connect to.
|
String |
versionAsString()
The version or the type of Confluence installation to connect to.
|
DataSourceVpcConfiguration |
vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String 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/.
public final String 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.
You can also provide authentication credentials in the form of a personal access token. For more information, see Using a Confluence data source.
public final ConfluenceVersion version()
The version or the type of Confluence installation to connect to.
If the service returns an enum value that is not available in the current SDK version, version will
return ConfluenceVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
versionAsString().
ConfluenceVersionpublic final String versionAsString()
The version or the type of Confluence installation to connect to.
If the service returns an enum value that is not available in the current SDK version, version will
return ConfluenceVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
versionAsString().
ConfluenceVersionpublic final ConfluenceSpaceConfiguration spaceConfiguration()
Configuration information for indexing Confluence spaces.
public final ConfluencePageConfiguration pageConfiguration()
Configuration information for indexing Confluence pages.
public final ConfluenceBlogConfiguration blogConfiguration()
Configuration information for indexing Confluence blogs.
public final ConfluenceAttachmentConfiguration attachmentConfiguration()
Configuration information for indexing attachments to Confluence blogs and pages.
public final DataSourceVpcConfiguration vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.
public final boolean hasInclusionPatterns()
isEmpty() 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.public final List<String> 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.
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.
public final boolean hasExclusionPatterns()
isEmpty() 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.public final List<String> 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.
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.
public final ProxyConfiguration 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.
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.
public final ConfluenceAuthenticationType 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.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return ConfluenceAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from authenticationTypeAsString().
ConfluenceAuthenticationTypepublic final String authenticationTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return ConfluenceAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from authenticationTypeAsString().
ConfluenceAuthenticationTypepublic ConfluenceConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConfluenceConfiguration.Builder,ConfluenceConfiguration>public static ConfluenceConfiguration.Builder builder()
public static Class<? extends ConfluenceConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.