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