Class CfnInternetGateway.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnInternetGateway.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInternetGateway>
- Enclosing class:
CfnInternetGateway
@Stability(Stable)
public static final class CfnInternetGateway.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInternetGateway>
A fluent builder for
CfnInternetGateway
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnInternetGateway.Builder
Any tags to assign to the internet gateway.
-
Method Details
-
create
@Stability(Stable) public static CfnInternetGateway.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
CfnInternetGateway.Builder
.
-
tags
Any tags to assign to the internet gateway.- Parameters:
tags
- Any tags to assign to the internet gateway. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInternetGateway>
- Returns:
- a newly built instance of
CfnInternetGateway
.
-