Class CfnDBProxyTargetGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBProxyTargetGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBProxyTargetGroupProps>
- Enclosing interface:
CfnDBProxyTargetGroupProps
@Stability(Stable)
public static final class CfnDBProxyTargetGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBProxyTargetGroupProps>
A builder for
CfnDBProxyTargetGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectionPoolConfigurationInfo
(IResolvable connectionPoolConfigurationInfo) Sets the value ofCfnDBProxyTargetGroupProps.getConnectionPoolConfigurationInfo()
connectionPoolConfigurationInfo
(CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty connectionPoolConfigurationInfo) Sets the value ofCfnDBProxyTargetGroupProps.getConnectionPoolConfigurationInfo()
dbClusterIdentifiers
(List<String> dbClusterIdentifiers) Sets the value ofCfnDBProxyTargetGroupProps.getDbClusterIdentifiers()
dbInstanceIdentifiers
(List<String> dbInstanceIdentifiers) Sets the value ofCfnDBProxyTargetGroupProps.getDbInstanceIdentifiers()
dbProxyName
(String dbProxyName) Sets the value ofCfnDBProxyTargetGroupProps.getDbProxyName()
targetGroupName
(String targetGroupName) Sets the value ofCfnDBProxyTargetGroupProps.getTargetGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbProxyName
Sets the value ofCfnDBProxyTargetGroupProps.getDbProxyName()
- Parameters:
dbProxyName
- The identifier of theDBProxy
that is associated with theDBProxyTargetGroup
. This parameter is required.- Returns:
this
-
targetGroupName
@Stability(Stable) public CfnDBProxyTargetGroupProps.Builder targetGroupName(String targetGroupName) Sets the value ofCfnDBProxyTargetGroupProps.getTargetGroupName()
- Parameters:
targetGroupName
- The identifier for the target group. This parameter is required.Currently, this property must be set to
default
.- Returns:
this
-
connectionPoolConfigurationInfo
@Stability(Stable) public CfnDBProxyTargetGroupProps.Builder connectionPoolConfigurationInfo(IResolvable connectionPoolConfigurationInfo) Sets the value ofCfnDBProxyTargetGroupProps.getConnectionPoolConfigurationInfo()
- Parameters:
connectionPoolConfigurationInfo
- Displays the settings that control the size and behavior of the connection pool associated with aDBProxyTarget
.- Returns:
this
-
connectionPoolConfigurationInfo
@Stability(Stable) public CfnDBProxyTargetGroupProps.Builder connectionPoolConfigurationInfo(CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty connectionPoolConfigurationInfo) Sets the value ofCfnDBProxyTargetGroupProps.getConnectionPoolConfigurationInfo()
- Parameters:
connectionPoolConfigurationInfo
- Displays the settings that control the size and behavior of the connection pool associated with aDBProxyTarget
.- Returns:
this
-
dbClusterIdentifiers
@Stability(Stable) public CfnDBProxyTargetGroupProps.Builder dbClusterIdentifiers(List<String> dbClusterIdentifiers) Sets the value ofCfnDBProxyTargetGroupProps.getDbClusterIdentifiers()
- Parameters:
dbClusterIdentifiers
- One or more DB cluster identifiers.- Returns:
this
-
dbInstanceIdentifiers
@Stability(Stable) public CfnDBProxyTargetGroupProps.Builder dbInstanceIdentifiers(List<String> dbInstanceIdentifiers) Sets the value ofCfnDBProxyTargetGroupProps.getDbInstanceIdentifiers()
- Parameters:
dbInstanceIdentifiers
- One or more DB instance identifiers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBProxyTargetGroupProps>
- Returns:
- a new instance of
CfnDBProxyTargetGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-