Class NatGatewayProvider.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.NatGatewayProvider.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NatGatewayProvider>
- Enclosing class:
NatGatewayProvider
@Stability(Stable)
public static final class NatGatewayProvider.Builder
extends Object
implements software.amazon.jsii.Builder<NatGatewayProvider>
A fluent builder for
NatGatewayProvider
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static NatGatewayProvider.Builder
create()
eipAllocationIds
(List<String> eipAllocationIds) EIP allocation IDs for the NAT gateways.
-
Method Details
-
create
- Returns:
- a new instance of
NatGatewayProvider.Builder
.
-
eipAllocationIds
@Stability(Stable) public NatGatewayProvider.Builder eipAllocationIds(List<String> eipAllocationIds) EIP allocation IDs for the NAT gateways.Default: - No fixed EIPs allocated for the NAT gateways
- Parameters:
eipAllocationIds
- EIP allocation IDs for the NAT gateways. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NatGatewayProvider>
- Returns:
- a newly built instance of
NatGatewayProvider
.
-