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