Class CfnInternetGatewayProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnInternetGatewayProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInternetGatewayProps>
- Enclosing interface:
CfnInternetGatewayProps
@Stability(Stable)
public static final class CfnInternetGatewayProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInternetGatewayProps>
A builder for
CfnInternetGatewayProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnInternetGatewayProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tags
Sets the value ofCfnInternetGatewayProps.getTags()
- Parameters:
tags
- Any tags to assign to the internet gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInternetGatewayProps>
- Returns:
- a new instance of
CfnInternetGatewayProps
- Throws:
NullPointerException
- if any required attribute was not provided
-