@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 |
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 allocationId(String allocationId)
CfnNatGatewayProps.getAllocationId()allocationId - `AWS::EC2::NatGateway.AllocationId`. This parameter is required.this@Stability(value=Stable) public CfnNatGatewayProps.Builder subnetId(String subnetId)
CfnNatGatewayProps.getSubnetId()subnetId - `AWS::EC2::NatGateway.SubnetId`. This parameter is required.this@Stability(value=Stable) public CfnNatGatewayProps.Builder tags(List<? extends CfnTag> tags)
CfnNatGatewayProps.getTags()tags - `AWS::EC2::NatGateway.Tags`.this@Stability(value=Stable) public CfnNatGatewayProps build()
build in interface software.amazon.jsii.Builder<CfnNatGatewayProps>CfnNatGatewayPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.