Class V1alpha1ClusterCIDRSpec

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha1ClusterCIDRSpec

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha1ClusterCIDRSpec extends Object
ClusterCIDRSpec defines the desired state of ClusterCIDR.
  • Field Details

  • Constructor Details

    • V1alpha1ClusterCIDRSpec

      public V1alpha1ClusterCIDRSpec(Integer perNodeHostBits)
  • Method Details

    • getIpv4

      public String getIpv4()
      ipv4 defines an IPv4 IP block in CIDR notation(e.g. \"10.0.0.0/8\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.
      Returns:
      the ipv4 property value
    • setIpv4

      public void setIpv4(String ipv4)
      Set the ipv4 property value
    • ipv4

      public V1alpha1ClusterCIDRSpec ipv4(String ipv4)
      Set ipv4 in a chainable fashion.
      Returns:
      The same instance of V1alpha1ClusterCIDRSpec for chaining.
    • getIpv6

      public String getIpv6()
      ipv6 defines an IPv6 IP block in CIDR notation(e.g. \"2001:db8::/64\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.
      Returns:
      the ipv6 property value
    • setIpv6

      public void setIpv6(String ipv6)
      Set the ipv6 property value
    • ipv6

      public V1alpha1ClusterCIDRSpec ipv6(String ipv6)
      Set ipv6 in a chainable fashion.
      Returns:
      The same instance of V1alpha1ClusterCIDRSpec for chaining.
    • getNodeSelector

      public V1NodeSelector getNodeSelector()
      Returns:
      the nodeSelector property value
    • setNodeSelector

      public void setNodeSelector(V1NodeSelector nodeSelector)
      Set the nodeSelector property value
    • nodeSelector

      public V1alpha1ClusterCIDRSpec nodeSelector(V1NodeSelector nodeSelector)
      Set nodeSelector in a chainable fashion.
      Returns:
      The same instance of V1alpha1ClusterCIDRSpec for chaining.
    • getPerNodeHostBits

      public Integer getPerNodeHostBits()
      perNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable.
      Returns:
      the perNodeHostBits property value
    • setPerNodeHostBits

      public void setPerNodeHostBits(Integer perNodeHostBits)
      Set the perNodeHostBits property value
    • perNodeHostBits

      public V1alpha1ClusterCIDRSpec perNodeHostBits(Integer perNodeHostBits)
      Set perNodeHostBits in a chainable fashion.
      Returns:
      The same instance of V1alpha1ClusterCIDRSpec for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object