Class CfnDBProxyEndpointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rds.CfnDBProxyEndpointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBProxyEndpointMixinProps>
- Enclosing interface:
CfnDBProxyEndpointMixinProps
@Stability(Stable)
public static final class CfnDBProxyEndpointMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBProxyEndpointMixinProps>
A builder for
CfnDBProxyEndpointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dbProxyEndpointName(String dbProxyEndpointName) Sets the value ofCfnDBProxyEndpointMixinProps.getDbProxyEndpointName()dbProxyName(String dbProxyName) Sets the value ofCfnDBProxyEndpointMixinProps.getDbProxyName()endpointNetworkType(String endpointNetworkType) Sets the value ofCfnDBProxyEndpointMixinProps.getEndpointNetworkType()tags(List<? extends CfnDBProxyEndpointPropsMixin.TagFormatProperty> tags) Sets the value ofCfnDBProxyEndpointMixinProps.getTags()targetRole(String targetRole) Sets the value ofCfnDBProxyEndpointMixinProps.getTargetRole()vpcSecurityGroupIds(List<? extends Object> vpcSecurityGroupIds) Sets the value ofCfnDBProxyEndpointMixinProps.getVpcSecurityGroupIds()vpcSubnetIds(List<? extends Object> vpcSubnetIds) Sets the value ofCfnDBProxyEndpointMixinProps.getVpcSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbProxyEndpointName
@Stability(Stable) public CfnDBProxyEndpointMixinProps.Builder dbProxyEndpointName(String dbProxyEndpointName) Sets the value ofCfnDBProxyEndpointMixinProps.getDbProxyEndpointName()- Parameters:
dbProxyEndpointName- The name of the DB proxy endpoint to create.- Returns:
this
-
dbProxyName
Sets the value ofCfnDBProxyEndpointMixinProps.getDbProxyName()- Parameters:
dbProxyName- The name of the DB proxy associated with the DB proxy endpoint that you create.- Returns:
this
-
endpointNetworkType
@Stability(Stable) public CfnDBProxyEndpointMixinProps.Builder endpointNetworkType(String endpointNetworkType) Sets the value ofCfnDBProxyEndpointMixinProps.getEndpointNetworkType()- Parameters:
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.
- Returns:
this
-
tags
@Stability(Stable) public CfnDBProxyEndpointMixinProps.Builder tags(List<? extends CfnDBProxyEndpointPropsMixin.TagFormatProperty> tags) Sets the value ofCfnDBProxyEndpointMixinProps.getTags()- Parameters:
tags- An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.- Returns:
this
-
targetRole
Sets the value ofCfnDBProxyEndpointMixinProps.getTargetRole()- Parameters:
targetRole- A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.- Returns:
this
-
vpcSecurityGroupIds
@Stability(Stable) public CfnDBProxyEndpointMixinProps.Builder vpcSecurityGroupIds(List<? extends Object> vpcSecurityGroupIds) Sets the value ofCfnDBProxyEndpointMixinProps.getVpcSecurityGroupIds()- Parameters:
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.- Returns:
this
-
vpcSubnetIds
@Stability(Stable) public CfnDBProxyEndpointMixinProps.Builder vpcSubnetIds(List<? extends Object> vpcSubnetIds) Sets the value ofCfnDBProxyEndpointMixinProps.getVpcSubnetIds()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBProxyEndpointMixinProps>- Returns:
- a new instance of
CfnDBProxyEndpointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-