Class CfnEgressOnlyInternetGateway.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnEgressOnlyInternetGateway.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEgressOnlyInternetGateway>
- Enclosing class:
CfnEgressOnlyInternetGateway
@Stability(Stable)
public static final class CfnEgressOnlyInternetGateway.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEgressOnlyInternetGateway>
A fluent builder for
CfnEgressOnlyInternetGateway
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The ID of the VPC for which to create the egress-only internet gateway.
-
Method Details
-
create
@Stability(Stable) public static CfnEgressOnlyInternetGateway.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnEgressOnlyInternetGateway.Builder
.
-
vpcId
The ID of the VPC for which to create the egress-only internet gateway.- Parameters:
vpcId
- The ID of the VPC for which to create the egress-only internet gateway. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEgressOnlyInternetGateway>
- Returns:
- a newly built instance of
CfnEgressOnlyInternetGateway
.
-