Class CfnDBProxyEndpoint.Builder

java.lang.Object
software.amazon.awscdk.services.rds.CfnDBProxyEndpoint.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBProxyEndpoint>
Enclosing class:
CfnDBProxyEndpoint

@Stability(Stable) public static final class CfnDBProxyEndpoint.Builder extends Object implements software.amazon.jsii.Builder<CfnDBProxyEndpoint>
A fluent builder for CfnDBProxyEndpoint.
  • Method Details

    • create

      @Stability(Stable) public static CfnDBProxyEndpoint.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 CfnDBProxyEndpoint.Builder.
    • dbProxyEndpointName

      @Stability(Stable) public CfnDBProxyEndpoint.Builder dbProxyEndpointName(String dbProxyEndpointName)
      The name of the DB proxy endpoint to create.

      Parameters:
      dbProxyEndpointName - The name of the DB proxy endpoint to create. This parameter is required.
      Returns:
      this
    • dbProxyName

      @Stability(Stable) public CfnDBProxyEndpoint.Builder dbProxyName(String dbProxyName)
      The name of the DB proxy associated with the DB proxy endpoint that you create.

      Parameters:
      dbProxyName - The name of the DB proxy associated with the DB proxy endpoint that you create. This parameter is required.
      Returns:
      this
    • vpcSubnetIds

      @Stability(Stable) public CfnDBProxyEndpoint.Builder vpcSubnetIds(List<String> vpcSubnetIds)
      The VPC subnet IDs for the DB proxy endpoint that you create.

      You can specify a different set of subnet IDs than for the original DB proxy.

      Parameters:
      vpcSubnetIds - The VPC subnet IDs for the DB proxy endpoint that you create. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDBProxyEndpoint.Builder tags(List<? extends CfnDBProxyEndpoint.TagFormatProperty> tags)
      An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.

      Parameters:
      tags - An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy. This parameter is required.
      Returns:
      this
    • targetRole

      @Stability(Stable) public CfnDBProxyEndpoint.Builder targetRole(String targetRole)
      A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.

      Valid Values: READ_WRITE | READ_ONLY

      Parameters:
      targetRole - A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. This parameter is required.
      Returns:
      this
    • vpcSecurityGroupIds

      @Stability(Stable) public CfnDBProxyEndpoint.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds)
      The VPC security group IDs for the DB proxy endpoint that you create.

      You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.

      Parameters:
      vpcSecurityGroupIds - The VPC security group IDs for the DB proxy endpoint that you create. This parameter is required.
      Returns:
      this
    • build

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