Class V1beta1ServiceCIDRSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta1ServiceCIDRSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1beta1ServiceCIDRSpec
extends Object
ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddcidrsItem
(String cidrsItem) Add an item to the cidrs property in a chainable fashion.Set cidrs in a chainable fashion.boolean
getCidrs()
CIDRs defines the IP blocks in CIDR notation (e.g.int
hashCode()
void
Set the cidrs property valuetoString()
-
Field Details
-
JSON_PROPERTY_CIDRS
- See Also:
-
-
Constructor Details
-
V1beta1ServiceCIDRSpec
public V1beta1ServiceCIDRSpec()
-
-
Method Details
-
getCidrs
CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.- Returns:
- the cidrs property value
-
setCidrs
Set the cidrs property value- Parameters:
cidrs
- property value to set
-
cidrs
Set cidrs in a chainable fashion.- Returns:
- The same instance of V1beta1ServiceCIDRSpec for chaining.
-
addcidrsItem
Add an item to the cidrs property in a chainable fashion.- Returns:
- The same instance of V1beta1ServiceCIDRSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-