Class NatGatewayProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.NatGatewayProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NatGatewayProps>
- Enclosing interface:
NatGatewayProps
@Stability(Stable)
public static final class NatGatewayProps.Builder
extends Object
implements software.amazon.jsii.Builder<NatGatewayProps>
A builder for
NatGatewayProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.eipAllocationIds
(List<String> eipAllocationIds) Sets the value ofNatGatewayProps.getEipAllocationIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eipAllocationIds
Sets the value ofNatGatewayProps.getEipAllocationIds()
- Parameters:
eipAllocationIds
- EIP allocation IDs for the NAT gateways.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NatGatewayProps>
- Returns:
- a new instance of
NatGatewayProps
- Throws:
NullPointerException
- if any required attribute was not provided
-