Class CfnIPAMPoolCidrPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnIPAMPoolCidrPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMPoolCidrPropsMixin>
- Enclosing class:
CfnIPAMPoolCidrPropsMixin
@Stability(Stable)
public static final class CfnIPAMPoolCidrPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMPoolCidrPropsMixin>
A fluent builder for
CfnIPAMPoolCidrPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The CIDR provisioned to the IPAM pool.create()create(CfnPropertyMixinOptions options) ipamPoolId(String ipamPoolId) The ID of the IPAM pool.netmaskLength(Number netmaskLength) The netmask length of the CIDR you'd like to provision to a pool.
-
Method Details
-
create
@Stability(Stable) public static CfnIPAMPoolCidrPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnIPAMPoolCidrPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnIPAMPoolCidrPropsMixin.Builder.
-
cidr
The CIDR provisioned to the IPAM pool.A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is
10.24.34.0/23. An IPv6 CIDR example is2001:DB8::/32.- Parameters:
cidr- The CIDR provisioned to the IPAM pool. This parameter is required.- Returns:
this- See Also:
-
ipamPoolId
The ID of the IPAM pool.- Parameters:
ipamPoolId- The ID of the IPAM pool. This parameter is required.- Returns:
this- See Also:
-
netmaskLength
The netmask length of the CIDR you'd like to provision to a pool.Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.
- Parameters:
netmaskLength- The netmask length of the CIDR you'd like to provision to a pool. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIPAMPoolCidrPropsMixin>- Returns:
- a newly built instance of
CfnIPAMPoolCidrPropsMixin.
-