Class CfnCarrierGatewayMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnCarrierGatewayMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCarrierGatewayMixinProps>
- Enclosing interface:
CfnCarrierGatewayMixinProps
@Stability(Stable)
public static final class CfnCarrierGatewayMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCarrierGatewayMixinProps>
A builder for
CfnCarrierGatewayMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCarrierGatewayMixinProps.getTags()Sets the value ofCfnCarrierGatewayMixinProps.getVpcId()Sets the value ofCfnCarrierGatewayMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tags
Sets the value ofCfnCarrierGatewayMixinProps.getTags()- Parameters:
tags- The tags assigned to the carrier gateway.- Returns:
this
-
vpcId
Sets the value ofCfnCarrierGatewayMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC associated with the carrier gateway.- Returns:
this
-
vpcId
Sets the value ofCfnCarrierGatewayMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC associated with the carrier gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCarrierGatewayMixinProps>- Returns:
- a new instance of
CfnCarrierGatewayMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-