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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getIpv4()
ipv4 defines an IPv4 IP block in CIDR notation(e.g.getIpv6()
ipv6 defines an IPv6 IP block in CIDR notation(e.g.perNodeHostBits defines the number of host bits to be configured per node.int
hashCode()
Set ipv4 in a chainable fashion.Set ipv6 in a chainable fashion.nodeSelector
(V1NodeSelector nodeSelector) Set nodeSelector in a chainable fashion.perNodeHostBits
(Integer perNodeHostBits) Set perNodeHostBits in a chainable fashion.void
Set the ipv4 property valuevoid
Set the ipv6 property valuevoid
setNodeSelector
(V1NodeSelector nodeSelector) Set the nodeSelector property valuevoid
setPerNodeHostBits
(Integer perNodeHostBits) Set the perNodeHostBits property valuetoString()
-
Field Details
-
JSON_PROPERTY_IPV4
- See Also:
-
JSON_PROPERTY_IPV6
- See Also:
-
JSON_PROPERTY_NODE_SELECTOR
- See Also:
-
JSON_PROPERTY_PER_NODE_HOST_BITS
- See Also:
-
-
Constructor Details
-
V1alpha1ClusterCIDRSpec
-
-
Method Details
-
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
Set the ipv4 property value -
ipv4
Set ipv4 in a chainable fashion.- Returns:
- The same instance of V1alpha1ClusterCIDRSpec for chaining.
-
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
Set the ipv6 property value -
ipv6
Set ipv6 in a chainable fashion.- Returns:
- The same instance of V1alpha1ClusterCIDRSpec for chaining.
-
getNodeSelector
- Returns:
- the nodeSelector property value
-
setNodeSelector
Set the nodeSelector property value -
nodeSelector
Set nodeSelector in a chainable fashion.- Returns:
- The same instance of V1alpha1ClusterCIDRSpec for chaining.
-
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
Set the perNodeHostBits property value -
perNodeHostBits
Set perNodeHostBits in a chainable fashion.- Returns:
- The same instance of V1alpha1ClusterCIDRSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-