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) Displays the settings that control the size and behavior of the connection pool associated with aDBProxyTarget
.connectionPoolConfigurationInfo
(CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty connectionPoolConfigurationInfo) Displays the settings that control the size and behavior of the connection pool associated with aDBProxyTarget
.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 theDBProxy
that is associated with theDBProxyTargetGroup
.targetGroupName
(String targetGroupName) The identifier for the target group.
-
Method Details
-
create
@Stability(Stable) public static CfnDBProxyTargetGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDBProxyTargetGroup.Builder
.
-
dbProxyName
The identifier of theDBProxy
that is associated with theDBProxyTargetGroup
.- Parameters:
dbProxyName
- The identifier of theDBProxy
that is associated with theDBProxyTargetGroup
. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
connectionPoolConfigurationInfo
@Stability(Stable) public CfnDBProxyTargetGroup.Builder connectionPoolConfigurationInfo(IResolvable connectionPoolConfigurationInfo) Displays the settings that control the size and behavior of the connection pool associated with aDBProxyTarget
.- Parameters:
connectionPoolConfigurationInfo
- Displays the settings that control the size and behavior of the connection pool associated with aDBProxyTarget
. This parameter is required.- Returns:
this
- See Also:
-
connectionPoolConfigurationInfo
@Stability(Stable) public CfnDBProxyTargetGroup.Builder connectionPoolConfigurationInfo(CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty connectionPoolConfigurationInfo) Displays the settings that control the size and behavior of the connection pool associated with aDBProxyTarget
.- Parameters:
connectionPoolConfigurationInfo
- Displays the settings that control the size and behavior of the connection pool associated with aDBProxyTarget
. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBProxyTargetGroup>
- Returns:
- a newly built instance of
CfnDBProxyTargetGroup
.
-