Class InternetGatewayReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.InternetGatewayReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InternetGatewayReference>
- Enclosing interface:
InternetGatewayReference
@Stability(Stable)
public static final class InternetGatewayReference.Builder
extends Object
implements software.amazon.jsii.Builder<InternetGatewayReference>
A builder for
InternetGatewayReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.internetGatewayId(String internetGatewayId) Sets the value ofInternetGatewayReference.getInternetGatewayId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
internetGatewayId
@Stability(Stable) public InternetGatewayReference.Builder internetGatewayId(String internetGatewayId) Sets the value ofInternetGatewayReference.getInternetGatewayId()- Parameters:
internetGatewayId- The InternetGatewayId of the InternetGateway resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InternetGatewayReference>- Returns:
- a new instance of
InternetGatewayReference - Throws:
NullPointerException- if any required attribute was not provided
-