@Stability(value=Stable) public static final class CfnNatGatewayProps.Builder extends Object implements software.amazon.jsii.Builder<CfnNatGatewayProps>
CfnNatGatewayProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnNatGatewayProps.Builder |
allocationId(String allocationId)
Sets the value of
CfnNatGatewayProps.getAllocationId() |
CfnNatGatewayProps |
build()
Builds the configured instance.
|
CfnNatGatewayProps.Builder |
connectivityType(String connectivityType)
Sets the value of
CfnNatGatewayProps.getConnectivityType() |
CfnNatGatewayProps.Builder |
subnetId(String subnetId)
Sets the value of
CfnNatGatewayProps.getSubnetId() |
CfnNatGatewayProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnNatGatewayProps.getTags() |
@Stability(value=Stable) public CfnNatGatewayProps.Builder subnetId(String subnetId)
CfnNatGatewayProps.getSubnetId()subnetId - The ID of the subnet in which the NAT gateway is located. This parameter is required.this@Stability(value=Stable) public CfnNatGatewayProps.Builder allocationId(String allocationId)
CfnNatGatewayProps.getAllocationId()allocationId - [Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.this@Stability(value=Stable) public CfnNatGatewayProps.Builder connectivityType(String connectivityType)
CfnNatGatewayProps.getConnectivityType()connectivityType - Indicates whether the NAT gateway supports public or private connectivity.this@Stability(value=Stable) public CfnNatGatewayProps.Builder tags(List<? extends CfnTag> tags)
CfnNatGatewayProps.getTags()tags - The tags for the NAT gateway.this@Stability(value=Stable) public CfnNatGatewayProps build()
build in interface software.amazon.jsii.Builder<CfnNatGatewayProps>CfnNatGatewayPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.