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