Class CfnSubnetCidrBlockPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSubnetCidrBlockPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubnetCidrBlockPropsMixin>
- Enclosing class:
CfnSubnetCidrBlockPropsMixin
@Stability(Stable)
public static final class CfnSubnetCidrBlockPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubnetCidrBlockPropsMixin>
A fluent builder for
CfnSubnetCidrBlockPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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.subnetId(ISubnetRef subnetId) The ID of the subnet.
-
Method Details
-
create
@Stability(Stable) public static CfnSubnetCidrBlockPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSubnetCidrBlockPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSubnetCidrBlockPropsMixin.Builder.
-
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
@Stability(Stable) public CfnSubnetCidrBlockPropsMixin.Builder ipv6IpamPoolId(String 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
@Stability(Stable) public CfnSubnetCidrBlockPropsMixin.Builder ipv6NetmaskLength(Number 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:
-
subnetId
The ID of the subnet.- Parameters:
subnetId- The ID of the subnet. This parameter is required.- Returns:
this- See Also:
-
subnetId
The ID of the subnet.- Parameters:
subnetId- The ID of the subnet. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubnetCidrBlockPropsMixin>- Returns:
- a newly built instance of
CfnSubnetCidrBlockPropsMixin.
-