public static final class CfnNatGateway.Builder
extends java.lang.Object
CfnNatGateway
.Modifier and Type | Method and Description |
---|---|
CfnNatGateway.Builder |
allocationId(java.lang.String allocationId)
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
CfnNatGateway |
build() |
CfnNatGateway.Builder |
connectivityType(java.lang.String connectivityType)
Indicates whether the NAT gateway supports public or private connectivity.
|
static CfnNatGateway.Builder |
create(Construct scope,
java.lang.String id) |
CfnNatGateway.Builder |
subnetId(java.lang.String subnetId)
The ID of the subnet in which the NAT gateway is located.
|
CfnNatGateway.Builder |
tags(java.util.List<? extends CfnTag> tags)
The tags for the NAT gateway.
|
public static CfnNatGateway.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnNatGateway.Builder
.public CfnNatGateway.Builder subnetId(java.lang.String subnetId)
subnetId
- The ID of the subnet in which the NAT gateway is located. This parameter is required.this
public CfnNatGateway.Builder allocationId(java.lang.String allocationId)
allocationId
- [Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway. This parameter is required.this
public CfnNatGateway.Builder connectivityType(java.lang.String connectivityType)
connectivityType
- Indicates whether the NAT gateway supports public or private connectivity. This parameter is required.this
public CfnNatGateway.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- The tags for the NAT gateway. This parameter is required.this
public CfnNatGateway build()