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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDBProxyEndpoint.Builder
dbProxyEndpointName
(String dbProxyEndpointName) The name of the DB proxy endpoint to create.dbProxyName
(String dbProxyName) The name of the DB proxy associated with the DB proxy endpoint that you create.tags
(List<? extends CfnDBProxyEndpoint.TagFormatProperty> tags) An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.targetRole
(String targetRole) A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.vpcSecurityGroupIds
(List<String> vpcSecurityGroupIds) The VPC security group IDs for the DB proxy endpoint that you create.vpcSubnetIds
(List<String> vpcSubnetIds) The VPC subnet IDs for the DB proxy endpoint that you create.
-
Method Details
-
create
@Stability(Stable) public static CfnDBProxyEndpoint.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
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
targetRole
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.- 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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBProxyEndpoint>
- Returns:
- a newly built instance of
CfnDBProxyEndpoint
.
-