Class VPNConnectionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.VPNConnectionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VPNConnectionReference>
- Enclosing interface:
VPNConnectionReference
@Stability(Stable)
public static final class VPNConnectionReference.Builder
extends Object
implements software.amazon.jsii.Builder<VPNConnectionReference>
A builder for
VPNConnectionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.vpnConnectionId(String vpnConnectionId) Sets the value ofVPNConnectionReference.getVpnConnectionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpnConnectionId
Sets the value ofVPNConnectionReference.getVpnConnectionId()- Parameters:
vpnConnectionId- The VpnConnectionId of the VPNConnection resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VPNConnectionReference>- Returns:
- a new instance of
VPNConnectionReference - Throws:
NullPointerException- if any required attribute was not provided
-