Class ConfluenceConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.ConfluenceConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfluenceConfiguration.Builder,ConfluenceConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfluenceConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfluenceAttachmentConfigurationattachmentConfiguration()Configuration information for indexing attachments to Confluence blogs and pages.ConfluenceAuthenticationTypeauthenticationType()Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token.StringauthenticationTypeAsString()Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token.ConfluenceBlogConfigurationblogConfiguration()Configuration information for indexing Confluence blogs.static ConfluenceConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(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)booleanhasExclusionPatterns()For responses, this returns true if the service returned a value for the ExclusionPatterns property.inthashCode()booleanhasInclusionPatterns()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.ConfluencePageConfigurationpageConfiguration()Configuration information for indexing Confluence pages.ProxyConfigurationproxyConfiguration()Configuration information to connect to your Confluence URL instance via a web proxy.List<SdkField<?>>sdkFields()StringsecretArn()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()StringserverUrl()The URL of your Confluence instance.ConfluenceSpaceConfigurationspaceConfiguration()Configuration information for indexing Confluence spaces.ConfluenceConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.ConfluenceVersionversion()The version or the type of Confluence installation to connect to.StringversionAsString()The version or the type of Confluence installation to connect to.DataSourceVpcConfigurationvpcConfiguration()Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serverUrl
public 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/.
- Returns:
- 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/.
-
secretArn
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.
- Returns:
- 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.
-
version
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,
versionwill returnConfluenceVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromversionAsString().- Returns:
- The version or the type of Confluence installation to connect to.
- See Also:
ConfluenceVersion
-
versionAsString
public 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,
versionwill returnConfluenceVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromversionAsString().- Returns:
- The version or the type of Confluence installation to connect to.
- See Also:
ConfluenceVersion
-
spaceConfiguration
public final ConfluenceSpaceConfiguration spaceConfiguration()
Configuration information for indexing Confluence spaces.
- Returns:
- Configuration information for indexing Confluence spaces.
-
pageConfiguration
public final ConfluencePageConfiguration pageConfiguration()
Configuration information for indexing Confluence pages.
- Returns:
- Configuration information for indexing Confluence pages.
-
blogConfiguration
public final ConfluenceBlogConfiguration blogConfiguration()
Configuration information for indexing Confluence blogs.
- Returns:
- Configuration information for indexing Confluence blogs.
-
attachmentConfiguration
public final ConfluenceAttachmentConfiguration attachmentConfiguration()
Configuration information for indexing attachments to Confluence blogs and pages.
- Returns:
- Configuration information for indexing attachments to Confluence blogs and pages.
-
vpcConfiguration
public final DataSourceVpcConfiguration vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.
- Returns:
- Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.
-
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
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.- Returns:
- 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.
-
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
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.- Returns:
- 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.
-
proxyConfiguration
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.
- Returns:
- 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.
-
authenticationType
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,
authenticationTypewill returnConfluenceAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthenticationTypeAsString().- Returns:
- 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.
- See Also:
ConfluenceAuthenticationType
-
authenticationTypeAsString
public 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,
authenticationTypewill returnConfluenceAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthenticationTypeAsString().- Returns:
- 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.
- See Also:
ConfluenceAuthenticationType
-
toBuilder
public ConfluenceConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfluenceConfiguration.Builder,ConfluenceConfiguration>
-
builder
public static ConfluenceConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfluenceConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-