Class ConfluenceConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ConfluenceConfiguration.Builder,
ConfluenceConfiguration>
Provides the configuration information to connect to Confluence as your data source.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionConfiguration information for indexing attachments to Confluence blogs and pages.Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token.final String
Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token.Configuration information for indexing Confluence blogs.builder()
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 blog posts, pages, spaces, or attachments in your Confluence.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 ExclusionPatterns property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the InclusionPatterns property.A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence.Configuration information for indexing Confluence pages.final ProxyConfiguration
Configuration information to connect to your Confluence URL instance via a web proxy.final String
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> final String
The URL of your Confluence instance.Configuration information for indexing Confluence spaces.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.final ConfluenceVersion
version()
The version or the type of Confluence installation to connect to.final String
The version or the type of Confluence installation to connect to.Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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/.
- 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
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
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 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:
-
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 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:
-
spaceConfiguration
Configuration information for indexing Confluence spaces.
- Returns:
- Configuration information for indexing Confluence spaces.
-
pageConfiguration
Configuration information for indexing Confluence pages.
- Returns:
- Configuration information for indexing Confluence pages.
-
blogConfiguration
Configuration information for indexing Confluence blogs.
- Returns:
- Configuration information for indexing Confluence blogs.
-
attachmentConfiguration
Configuration information for indexing attachments to Confluence blogs and pages.
- Returns:
- Configuration information for indexing attachments to Confluence blogs and pages.
-
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
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
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
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
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 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:
-
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 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:
-
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<ConfluenceConfiguration.Builder,
ConfluenceConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int 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
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. -
getValueForField
-
sdkFields
-