public static final class CfnIPAMAllocation.Builder
extends java.lang.Object
CfnIPAMAllocation
.Modifier and Type | Method and Description |
---|---|
CfnIPAMAllocation |
build() |
CfnIPAMAllocation.Builder |
cidr(java.lang.String cidr)
The CIDR you would like to allocate from the IPAM pool.
|
static CfnIPAMAllocation.Builder |
create(Construct scope,
java.lang.String id) |
CfnIPAMAllocation.Builder |
description(java.lang.String description)
A description for the allocation.
|
CfnIPAMAllocation.Builder |
ipamPoolId(java.lang.String ipamPoolId)
The ID of the IPAM pool from which you would like to allocate a CIDR.
|
CfnIPAMAllocation.Builder |
netmaskLength(java.lang.Number netmaskLength)
The netmask length of the CIDR you would like to allocate from the IPAM pool.
|
public static CfnIPAMAllocation.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnIPAMAllocation.Builder
.public CfnIPAMAllocation.Builder ipamPoolId(java.lang.String ipamPoolId)
ipamPoolId
- The ID of the IPAM pool from which you would like to allocate a CIDR. This parameter is required.this
public CfnIPAMAllocation.Builder cidr(java.lang.String cidr)
Possible values: Any available IPv4 or IPv6 CIDR.
cidr
- The CIDR you would like to allocate from the IPAM pool. Note the following:. This parameter is required.this
public CfnIPAMAllocation.Builder description(java.lang.String description)
description
- A description for the allocation. This parameter is required.this
public CfnIPAMAllocation.Builder netmaskLength(java.lang.Number netmaskLength)
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
netmaskLength
- The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:. This parameter is required.this
public CfnIPAMAllocation build()