Class CfnDBProxyEndpointPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.rds.mixins.CfnDBProxyEndpointPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBProxyEndpointPropsMixin>
- Enclosing class:
CfnDBProxyEndpointPropsMixin
@Stability(Stable)
public static final class CfnDBProxyEndpointPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBProxyEndpointPropsMixin>
A fluent builder for
CfnDBProxyEndpointPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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.endpointNetworkType(String endpointNetworkType) The network type of the DB proxy endpoint.tags(List<? extends CfnDBProxyEndpointPropsMixin.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 CfnDBProxyEndpointPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDBProxyEndpointPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDBProxyEndpointPropsMixin.Builder.
-
dbProxyEndpointName
@Stability(Stable) public CfnDBProxyEndpointPropsMixin.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:
-
endpointNetworkType
@Stability(Stable) public CfnDBProxyEndpointPropsMixin.Builder endpointNetworkType(String endpointNetworkType) The network type of the DB proxy endpoint.The network type determines the IP version that the proxy endpoint supports.
Valid values:
IPV4- The proxy endpoint supports IPv4 only.IPV6- The proxy endpoint supports IPv6 only.DUAL- The proxy endpoint supports both IPv4 and IPv6.
- Parameters:
endpointNetworkType- The network type of the DB proxy endpoint. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnDBProxyEndpointPropsMixin.Builder tags(List<? extends CfnDBProxyEndpointPropsMixin.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 CfnDBProxyEndpointPropsMixin.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:
-
vpcSubnetIds
@Stability(Stable) public CfnDBProxyEndpointPropsMixin.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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBProxyEndpointPropsMixin>- Returns:
- a newly built instance of
CfnDBProxyEndpointPropsMixin.
-