Interface IpamPoolCidr.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IpamPoolCidr.Builder,
,IpamPoolCidr> SdkBuilder<IpamPoolCidr.Builder,
,IpamPoolCidr> SdkPojo
- Enclosing class:
IpamPoolCidr
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.failureReason
(IpamPoolCidrFailureReason failureReason) Details related to why an IPAM pool CIDR failed to be provisioned.ipamPoolCidrId
(String ipamPoolCidrId) The IPAM pool CIDR ID.netmaskLength
(Integer netmaskLength) The netmask length of the CIDR you'd like to provision to a pool.The state of the CIDR.state
(IpamPoolCidrState state) The state of the CIDR.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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. 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 is10.24.34.0/23
. An IPv6 CIDR example is2001:DB8::/32
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the CIDR.
- Parameters:
state
- The state of the CIDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the CIDR.
- Parameters:
state
- The state of the CIDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
Details related to why an IPAM pool CIDR failed to be provisioned.
- Parameters:
failureReason
- Details related to why an IPAM pool CIDR failed to be provisioned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
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 viaIpamPoolCidrFailureReason.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailureReason(IpamPoolCidrFailureReason)
.- Parameters:
failureReason
- a consumer that will call methods onIpamPoolCidrFailureReason.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipamPoolCidrId
The IPAM pool CIDR ID.
- Parameters:
ipamPoolCidrId
- The IPAM pool CIDR ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-