Interface IpamPoolCidr.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IpamPoolCidr.Builder,IpamPoolCidr>,SdkBuilder<IpamPoolCidr.Builder,IpamPoolCidr>,SdkPojo
- Enclosing class:
- IpamPoolCidr
@Mutable @NotThreadSafe public static interface IpamPoolCidr.Builder extends SdkPojo, CopyableBuilder<IpamPoolCidr.Builder,IpamPoolCidr>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IpamPoolCidr.Buildercidr(String cidr)The CIDR provisioned to the IPAM pool.default IpamPoolCidr.BuilderfailureReason(Consumer<IpamPoolCidrFailureReason.Builder> failureReason)Details related to why an IPAM pool CIDR failed to be provisioned.IpamPoolCidr.BuilderfailureReason(IpamPoolCidrFailureReason failureReason)Details related to why an IPAM pool CIDR failed to be provisioned.IpamPoolCidr.BuilderipamPoolCidrId(String ipamPoolCidrId)The IPAM pool CIDR ID.IpamPoolCidr.BuildernetmaskLength(Integer netmaskLength)The netmask length of the CIDR you'd like to provision to a pool.IpamPoolCidr.Builderstate(String state)The state of the CIDR.IpamPoolCidr.Builderstate(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
cidr
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 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
IpamPoolCidr.Builder state(String 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:
IpamPoolCidrState,IpamPoolCidrState
-
state
IpamPoolCidr.Builder state(IpamPoolCidrState 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:
IpamPoolCidrState,IpamPoolCidrState
-
failureReason
IpamPoolCidr.Builder failureReason(IpamPoolCidrFailureReason 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.Builderavoiding the need to create one manually viaIpamPoolCidrFailureReason.builder().When the
Consumercompletes,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:
failureReason(IpamPoolCidrFailureReason)
-
ipamPoolCidrId
IpamPoolCidr.Builder ipamPoolCidrId(String 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
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.
- 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.
-
-