Class CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty>
- Enclosing interface:
CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty
@Stability(Stable)
public static final class CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty>
A builder for
CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocationIds(List<String> allocationIds) availabilityZone(String availabilityZone) availabilityZoneId(String availabilityZoneId) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allocationIds
@Stability(Stable) public CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty.Builder allocationIds(List<String> allocationIds) - Parameters:
allocationIds- The allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.- Returns:
this
-
availabilityZone
@Stability(Stable) public CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty.Builder availabilityZone(String availabilityZone) - Parameters:
availabilityZone- For regional NAT gateways only: The Availability Zone where this specific NAT gateway configuration will be active. Each AZ in a regional NAT gateway has its own configuration to handle outbound NAT traffic from that AZ.A regional NAT gateway is a single NAT Gateway that works across multiple availability zones (AZs) in your VPC, providing redundancy, scalability and availability across all the AZs in a Region.
- Returns:
this
-
availabilityZoneId
@Stability(Stable) public CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty.Builder availabilityZoneId(String availabilityZoneId) - Parameters:
availabilityZoneId- For regional NAT gateways only: The ID of the Availability Zone where this specific NAT gateway configuration will be active. Each AZ in a regional NAT gateway has its own configuration to handle outbound NAT traffic from that AZ. Use this instead of AvailabilityZone for consistent identification of AZs across AWS Regions.A regional NAT gateway is a single NAT Gateway that works across multiple availability zones (AZs) in your VPC, providing redundancy, scalability and availability across all the AZs in a Region.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty>- Returns:
- a new instance of
CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty - Throws:
NullPointerException- if any required attribute was not provided
-