Class CfnDataSource.ConfluenceSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.ConfluenceSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ConfluenceSourceConfigurationProperty>
- Enclosing interface:
CfnDataSource.ConfluenceSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.ConfluenceSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ConfluenceSourceConfigurationProperty>
A builder for
CfnDataSource.ConfluenceSourceConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataSource.ConfluenceSourceConfigurationProperty.getAuthType()
build()
Builds the configured instance.credentialsSecretArn
(String credentialsSecretArn) Sets the value ofCfnDataSource.ConfluenceSourceConfigurationProperty.getHostType()
Sets the value ofCfnDataSource.ConfluenceSourceConfigurationProperty.getHostUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authType
@Stability(Stable) public CfnDataSource.ConfluenceSourceConfigurationProperty.Builder authType(String authType) Sets the value ofCfnDataSource.ConfluenceSourceConfigurationProperty.getAuthType()
- Parameters:
authType
- The supported authentication type to authenticate and connect to your Confluence instance. This parameter is required.- Returns:
this
-
credentialsSecretArn
@Stability(Stable) public CfnDataSource.ConfluenceSourceConfigurationProperty.Builder credentialsSecretArn(String credentialsSecretArn) - Parameters:
credentialsSecretArn
- The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Confluence instance URL. This parameter is required. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Confluence connection configuration .- Returns:
this
-
hostType
@Stability(Stable) public CfnDataSource.ConfluenceSourceConfigurationProperty.Builder hostType(String hostType) Sets the value ofCfnDataSource.ConfluenceSourceConfigurationProperty.getHostType()
- Parameters:
hostType
- The supported host type, whether online/cloud or server/on-premises. This parameter is required.- Returns:
this
-
hostUrl
@Stability(Stable) public CfnDataSource.ConfluenceSourceConfigurationProperty.Builder hostUrl(String hostUrl) Sets the value ofCfnDataSource.ConfluenceSourceConfigurationProperty.getHostUrl()
- Parameters:
hostUrl
- The Confluence host URL or instance URL. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.ConfluenceSourceConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.ConfluenceSourceConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-