Class CfnClientVpnTargetNetworkAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnClientVpnTargetNetworkAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnTargetNetworkAssociation>
- Enclosing class:
CfnClientVpnTargetNetworkAssociation
@Stability(Stable)
public static final class CfnClientVpnTargetNetworkAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnTargetNetworkAssociation>
A fluent builder for
CfnClientVpnTargetNetworkAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clientVpnEndpointId
(String clientVpnEndpointId) The ID of the Client VPN endpoint.The ID of the subnet to associate with the Client VPN endpoint.
-
Method Details
-
create
@Stability(Stable) public static CfnClientVpnTargetNetworkAssociation.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
CfnClientVpnTargetNetworkAssociation.Builder
.
-
clientVpnEndpointId
@Stability(Stable) public CfnClientVpnTargetNetworkAssociation.Builder clientVpnEndpointId(String clientVpnEndpointId) The ID of the Client VPN endpoint.- Parameters:
clientVpnEndpointId
- The ID of the Client VPN endpoint. This parameter is required.- Returns:
this
- See Also:
-
subnetId
The ID of the subnet to associate with the Client VPN endpoint.- Parameters:
subnetId
- The ID of the subnet to associate with the Client VPN endpoint. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnClientVpnTargetNetworkAssociation>
- Returns:
- a newly built instance of
CfnClientVpnTargetNetworkAssociation
.
-