Class CfnDBProxyTargetGroup.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBProxyTargetGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBProxyTargetGroup>
- Enclosing class:
- CfnDBProxyTargetGroup
@Stability(Stable)
public static final class CfnDBProxyTargetGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBProxyTargetGroup>
A fluent builder for
CfnDBProxyTargetGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()connectionPoolConfigurationInfo(IResolvable connectionPoolConfigurationInfo) Settings that control the size and behavior of the connection pool associated with aDBProxyTargetGroup.connectionPoolConfigurationInfo(CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty connectionPoolConfigurationInfo) Settings that control the size and behavior of the connection pool associated with aDBProxyTargetGroup.dbClusterIdentifiers(List<String> dbClusterIdentifiers) One or more DB cluster identifiers.dbInstanceIdentifiers(List<String> dbInstanceIdentifiers) One or more DB instance identifiers.dbProxyName(String dbProxyName) The identifier of theDBProxythat is associated with theDBProxyTargetGroup.targetGroupName(String targetGroupName) The identifier for the target group.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnDBProxyTargetGroup.Builder.
-
dbProxyName
The identifier of theDBProxythat is associated with theDBProxyTargetGroup.- Parameters:
dbProxyName- The identifier of theDBProxythat is associated with theDBProxyTargetGroup. This parameter is required.- Returns:
this
-
targetGroupName
The identifier for the target group.Currently, this property must be set to
default.- Parameters:
targetGroupName- The identifier for the target group. This parameter is required.- Returns:
this
-
connectionPoolConfigurationInfo
@Stability(Stable) public CfnDBProxyTargetGroup.Builder connectionPoolConfigurationInfo(IResolvable connectionPoolConfigurationInfo) Settings that control the size and behavior of the connection pool associated with aDBProxyTargetGroup.- Parameters:
connectionPoolConfigurationInfo- Settings that control the size and behavior of the connection pool associated with aDBProxyTargetGroup. This parameter is required.- Returns:
this
-
connectionPoolConfigurationInfo
@Stability(Stable) public CfnDBProxyTargetGroup.Builder connectionPoolConfigurationInfo(CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty connectionPoolConfigurationInfo) Settings that control the size and behavior of the connection pool associated with aDBProxyTargetGroup.- Parameters:
connectionPoolConfigurationInfo- Settings that control the size and behavior of the connection pool associated with aDBProxyTargetGroup. This parameter is required.- Returns:
this
-
dbClusterIdentifiers
@Stability(Stable) public CfnDBProxyTargetGroup.Builder dbClusterIdentifiers(List<String> dbClusterIdentifiers) One or more DB cluster identifiers.- Parameters:
dbClusterIdentifiers- One or more DB cluster identifiers. This parameter is required.- Returns:
this
-
dbInstanceIdentifiers
@Stability(Stable) public CfnDBProxyTargetGroup.Builder dbInstanceIdentifiers(List<String> dbInstanceIdentifiers) One or more DB instance identifiers.- Parameters:
dbInstanceIdentifiers- One or more DB instance identifiers. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBProxyTargetGroup>- Returns:
- a newly built instance of
CfnDBProxyTargetGroup.
-