Class CfnSubnetCidrBlock.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnSubnetCidrBlock.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubnetCidrBlock>
- Enclosing class:
CfnSubnetCidrBlock
@Stability(Stable)
public static final class CfnSubnetCidrBlock.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubnetCidrBlock>
A fluent builder for
CfnSubnetCidrBlock
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnSubnetCidrBlock.Builder
ipv6CidrBlock
(String ipv6CidrBlock) The IPv6 network range for the subnet, in CIDR notation.ipv6IpamPoolId
(String ipv6IpamPoolId) An IPv6 IPAM pool ID for the subnet.ipv6NetmaskLength
(Number ipv6NetmaskLength) An IPv6 netmask length for the subnet.The ID of the subnet.
-
Method Details
-
create
@Stability(Stable) public static CfnSubnetCidrBlock.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSubnetCidrBlock.Builder
.
-
subnetId
The ID of the subnet.- Parameters:
subnetId
- The ID of the subnet. This parameter is required.- Returns:
this
- See Also:
-
ipv6CidrBlock
The IPv6 network range for the subnet, in CIDR notation.- Parameters:
ipv6CidrBlock
- The IPv6 network range for the subnet, in CIDR notation. This parameter is required.- Returns:
this
- See Also:
-
ipv6IpamPoolId
An IPv6 IPAM pool ID for the subnet.- Parameters:
ipv6IpamPoolId
- An IPv6 IPAM pool ID for the subnet. This parameter is required.- Returns:
this
- See Also:
-
ipv6NetmaskLength
An IPv6 netmask length for the subnet.- Parameters:
ipv6NetmaskLength
- An IPv6 netmask length for the subnet. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSubnetCidrBlock>
- Returns:
- a newly built instance of
CfnSubnetCidrBlock
.
-