Class ClusterNetworkEntry
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.ClusterNetworkEntry
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClusterNetworkEntryBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterNetworkEntry extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClusterNetworkEntryBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterNetworkEntry()No args constructor for use in serializationClusterNetworkEntry(String cidr, Long hostPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterNetworkEntryBuilderedit()Map<String,Object>getAdditionalProperties()StringgetCidr()ClusterNetworkEntry is a subnet from which to allocate PodIPs.LonggetHostPrefix()ClusterNetworkEntry is a subnet from which to allocate PodIPs.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCidr(String cidr)ClusterNetworkEntry is a subnet from which to allocate PodIPs.voidsetHostPrefix(Long hostPrefix)ClusterNetworkEntry is a subnet from which to allocate PodIPs.ClusterNetworkEntryBuildertoBuilder()
-
-
-
Method Detail
-
getCidr
public String getCidr()
ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
-
setCidr
public void setCidr(String cidr)
ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
-
getHostPrefix
public Long getHostPrefix()
ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
-
setHostPrefix
public void setHostPrefix(Long hostPrefix)
ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
-
edit
public ClusterNetworkEntryBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterNetworkEntryBuilder>
-
toBuilder
public ClusterNetworkEntryBuilder toBuilder()
-
-