Class ClusterNetworkEntry
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.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 contiguous block of IP addresses from which pod IPs are allocated.- 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()The complete block for pod IPs.LonggetHostPrefix()The size (prefix) of block to allocate to each node.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCidr(String cidr)The complete block for pod IPs.voidsetHostPrefix(Long hostPrefix)The size (prefix) of block to allocate to each node.ClusterNetworkEntryBuildertoBuilder()
-
-
-
Method Detail
-
getCidr
public String getCidr()
The complete block for pod IPs.
-
setCidr
public void setCidr(String cidr)
The complete block for pod IPs.
-
getHostPrefix
public Long getHostPrefix()
The size (prefix) of block to allocate to each node. If this field is not used by the plugin, it can be left unset.
-
setHostPrefix
public void setHostPrefix(Long hostPrefix)
The size (prefix) of block to allocate to each node. If this field is not used by the plugin, it can be left unset.
-
edit
public ClusterNetworkEntryBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterNetworkEntryBuilder>
-
toBuilder
public ClusterNetworkEntryBuilder toBuilder()
-
-