public static interface AllocateIpamPoolCidrRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AllocateIpamPoolCidrRequest.Builder,AllocateIpamPoolCidrRequest>
Modifier and Type | Method and Description |
---|---|
AllocateIpamPoolCidrRequest.Builder |
cidr(String cidr)
The CIDR you would like to allocate from the IPAM pool.
|
AllocateIpamPoolCidrRequest.Builder |
clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
AllocateIpamPoolCidrRequest.Builder |
description(String description)
A description for the allocation.
|
AllocateIpamPoolCidrRequest.Builder |
disallowedCidrs(Collection<String> disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool.
|
AllocateIpamPoolCidrRequest.Builder |
disallowedCidrs(String... disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool.
|
AllocateIpamPoolCidrRequest.Builder |
ipamPoolId(String ipamPoolId)
The ID of the IPAM pool from which you would like to allocate a CIDR.
|
AllocateIpamPoolCidrRequest.Builder |
netmaskLength(Integer netmaskLength)
The netmask length of the CIDR you would like to allocate from the IPAM pool.
|
AllocateIpamPoolCidrRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AllocateIpamPoolCidrRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AllocateIpamPoolCidrRequest.Builder |
previewNextCidr(Boolean previewNextCidr)
A preview of the next available CIDR in a pool.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
AllocateIpamPoolCidrRequest.Builder ipamPoolId(String ipamPoolId)
The ID of the IPAM pool from which you would like to allocate a CIDR.
ipamPoolId
- The ID of the IPAM pool from which you would like to allocate a CIDR.AllocateIpamPoolCidrRequest.Builder cidr(String cidr)
The CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
cidr
- The CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
AllocateIpamPoolCidrRequest.Builder netmaskLength(Integer netmaskLength)
The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
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:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
AllocateIpamPoolCidrRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For
more information, see Ensuring
Idempotency.AllocateIpamPoolCidrRequest.Builder description(String description)
A description for the allocation.
description
- A description for the allocation.AllocateIpamPoolCidrRequest.Builder previewNextCidr(Boolean previewNextCidr)
A preview of the next available CIDR in a pool.
previewNextCidr
- A preview of the next available CIDR in a pool.AllocateIpamPoolCidrRequest.Builder disallowedCidrs(Collection<String> disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool.
disallowedCidrs
- Exclude a particular CIDR range from being returned by the pool.AllocateIpamPoolCidrRequest.Builder disallowedCidrs(String... disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool.
disallowedCidrs
- Exclude a particular CIDR range from being returned by the pool.AllocateIpamPoolCidrRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
AllocateIpamPoolCidrRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.