Class CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty>
- Enclosing interface:
CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty
@Stability(Stable)
public static final class CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty>
A builder for
CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.getPort()Sets the value ofCfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.getProtocol()rdsDbClusterArn(String rdsDbClusterArn) rdsDbInstanceArn(String rdsDbInstanceArn) rdsDbProxyArn(String rdsDbProxyArn) rdsEndpoint(String rdsEndpoint) Sets the value ofCfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.getRdsEndpoint()Sets the value ofCfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
port
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder port(Number port) Sets the value ofCfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.getPort()- Parameters:
port- The port.- Returns:
this
-
protocol
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder protocol(String protocol) Sets the value ofCfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.getProtocol()- Parameters:
protocol- The protocol.- Returns:
this
-
rdsDbClusterArn
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder rdsDbClusterArn(String rdsDbClusterArn) - Parameters:
rdsDbClusterArn- The ARN of the DB cluster.- Returns:
this
-
rdsDbInstanceArn
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder rdsDbInstanceArn(String rdsDbInstanceArn) - Parameters:
rdsDbInstanceArn- The ARN of the RDS instance.- Returns:
this
-
rdsDbProxyArn
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder rdsDbProxyArn(String rdsDbProxyArn) - Parameters:
rdsDbProxyArn- The ARN of the RDS proxy.- Returns:
this
-
rdsEndpoint
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder rdsEndpoint(String rdsEndpoint) Sets the value ofCfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.getRdsEndpoint()- Parameters:
rdsEndpoint- The RDS endpoint.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty.getSubnetIds()- Parameters:
subnetIds- The IDs of the subnets. You can specify only one subnet per Availability Zone.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty>- Returns:
- a new instance of
CfnVerifiedAccessEndpointPropsMixin.RdsOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-