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 Details

    • create

      @Stability(Stable) public static CfnDBProxyTargetGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDBProxyTargetGroup.Builder.
    • dbProxyName

      @Stability(Stable) public CfnDBProxyTargetGroup.Builder dbProxyName(String dbProxyName)
      The identifier of the DBProxy that is associated with the DBProxyTargetGroup .

      Parameters:
      dbProxyName - The identifier of the DBProxy that is associated with the DBProxyTargetGroup . This parameter is required.
      Returns:
      this
    • targetGroupName

      @Stability(Stable) public CfnDBProxyTargetGroup.Builder targetGroupName(String 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 a DBProxyTargetGroup .

      Parameters:
      connectionPoolConfigurationInfo - Settings that control the size and behavior of the connection pool associated with a DBProxyTargetGroup . 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 a DBProxyTargetGroup .

      Parameters:
      connectionPoolConfigurationInfo - Settings that control the size and behavior of the connection pool associated with a DBProxyTargetGroup . 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

      @Stability(Stable) public CfnDBProxyTargetGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDBProxyTargetGroup>
      Returns:
      a newly built instance of CfnDBProxyTargetGroup.