public static interface IpamPoolCidr.Builder extends SdkPojo, CopyableBuilder<IpamPoolCidr.Builder,IpamPoolCidr>
Modifier and Type | Method and Description |
---|---|
IpamPoolCidr.Builder |
cidr(String cidr)
The CIDR provisioned to the IPAM pool.
|
default IpamPoolCidr.Builder |
failureReason(Consumer<IpamPoolCidrFailureReason.Builder> failureReason)
Details related to why an IPAM pool CIDR failed to be provisioned.
|
IpamPoolCidr.Builder |
failureReason(IpamPoolCidrFailureReason failureReason)
Details related to why an IPAM pool CIDR failed to be provisioned.
|
IpamPoolCidr.Builder |
ipamPoolCidrId(String ipamPoolCidrId)
The IPAM pool CIDR ID.
|
IpamPoolCidr.Builder |
netmaskLength(Integer netmaskLength)
The netmask length of the CIDR you'd like to provision to a pool.
|
IpamPoolCidr.Builder |
state(IpamPoolCidrState state)
The state of the CIDR.
|
IpamPoolCidr.Builder |
state(String state)
The state of the CIDR.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
IpamPoolCidr.Builder cidr(String 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 is 2001:DB8::/32
.
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 is 2001:DB8::/32
.IpamPoolCidr.Builder state(String state)
The state of the CIDR.
state
- The state of the CIDR.IpamPoolCidrState
,
IpamPoolCidrState
IpamPoolCidr.Builder state(IpamPoolCidrState state)
The state of the CIDR.
state
- The state of the CIDR.IpamPoolCidrState
,
IpamPoolCidrState
IpamPoolCidr.Builder failureReason(IpamPoolCidrFailureReason failureReason)
Details related to why an IPAM pool CIDR failed to be provisioned.
failureReason
- Details related to why an IPAM pool CIDR failed to be provisioned.default IpamPoolCidr.Builder failureReason(Consumer<IpamPoolCidrFailureReason.Builder> failureReason)
Details related to why an IPAM pool CIDR failed to be provisioned.
This is a convenience method that creates an instance of theIpamPoolCidrFailureReason.Builder
avoiding the need to create one manually via IpamPoolCidrFailureReason.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to failureReason(IpamPoolCidrFailureReason)
.
failureReason
- a consumer that will call methods on IpamPoolCidrFailureReason.Builder
failureReason(IpamPoolCidrFailureReason)
IpamPoolCidr.Builder ipamPoolCidrId(String ipamPoolCidrId)
The IPAM pool CIDR ID.
ipamPoolCidrId
- The IPAM pool CIDR ID.IpamPoolCidr.Builder netmaskLength(Integer 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.
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.Copyright © 2023. All rights reserved.