Interface IpamPoolCidr.Builder

All Superinterfaces:
Buildable, CopyableBuilder<IpamPoolCidr.Builder,IpamPoolCidr>, SdkBuilder<IpamPoolCidr.Builder,IpamPoolCidr>, SdkPojo
Enclosing class:
IpamPoolCidr

public static interface IpamPoolCidr.Builder extends SdkPojo, CopyableBuilder<IpamPoolCidr.Builder,IpamPoolCidr>
  • 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 is 2001: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 is 10.24.34.0/23. An IPv6 CIDR example is 2001: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

      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 the IpamPoolCidrFailureReason.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).

      Parameters:
      failureReason - a consumer that will call methods on IpamPoolCidrFailureReason.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.