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