Class V1alpha1ClusterCIDRSpec

java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1ClusterCIDRSpec

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1alpha1ClusterCIDRSpec extends Object
ClusterCIDRSpec defines the desired state of ClusterCIDR.
  • Field Details

  • Constructor Details

    • V1alpha1ClusterCIDRSpec

      public V1alpha1ClusterCIDRSpec()
  • Method Details

    • ipv4

      public V1alpha1ClusterCIDRSpec ipv4(String ipv4)
    • getIpv4

      @Nullable 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:
      ipv4
    • setIpv4

      public void setIpv4(String ipv4)
    • ipv6

      public V1alpha1ClusterCIDRSpec ipv6(String ipv6)
    • getIpv6

      @Nullable 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:
      ipv6
    • setIpv6

      public void setIpv6(String ipv6)
    • nodeSelector

      public V1alpha1ClusterCIDRSpec nodeSelector(V1NodeSelector nodeSelector)
    • getNodeSelector

      @Nullable public V1NodeSelector getNodeSelector()
      Get nodeSelector
      Returns:
      nodeSelector
    • setNodeSelector

      public void setNodeSelector(V1NodeSelector nodeSelector)
    • perNodeHostBits

      public V1alpha1ClusterCIDRSpec perNodeHostBits(Integer perNodeHostBits)
    • 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:
      perNodeHostBits
    • setPerNodeHostBits

      public void setPerNodeHostBits(Integer perNodeHostBits)
    • 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