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.Builder
The tags assigned to the carrier gateway.The ID of the VPC associated with the carrier gateway.
-
Method Details
-
create
@Stability(Stable) public static CfnCarrierGateway.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
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
- See Also:
-
tags
The tags assigned to the carrier gateway.- Parameters:
tags
- The tags assigned to the carrier gateway. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCarrierGateway>
- Returns:
- a newly built instance of
CfnCarrierGateway
.
-