Package io.fabric8.kubernetes.api.model
Class NodeSpec
java.lang.Object
io.fabric8.kubernetes.api.model.NodeSpec
- All Implemented Interfaces:
KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class NodeSpec extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()NodeConfigSourcegetConfigSource()StringgetExternalID()StringgetPodCIDR()List<String>getPodCIDRs()StringgetProviderID()List<Taint>getTaints()BooleangetUnschedulable()voidsetAdditionalProperty(String name, Object value)voidsetConfigSource(NodeConfigSource configSource)voidsetExternalID(String externalID)voidsetPodCIDR(String podCIDR)voidsetPodCIDRs(List<String> podCIDRs)voidsetProviderID(String providerID)voidsetTaints(List<Taint> taints)voidsetUnschedulable(Boolean unschedulable)
-
Constructor Details
-
NodeSpec
public NodeSpec()No args constructor for use in serialization -
NodeSpec
public NodeSpec(NodeConfigSource configSource, String externalID, String podCIDR, List<String> podCIDRs, String providerID, List<Taint> taints, Boolean unschedulable)- Parameters:
podCIDRs-providerID-externalID-taints-configSource-unschedulable-podCIDR-
-
-
Method Details
-
getConfigSource
- Returns:
- The configSource
-
setConfigSource
- Parameters:
configSource- The configSource
-
getExternalID
- Returns:
- The externalID
-
setExternalID
- Parameters:
externalID- The externalID
-
getPodCIDR
- Returns:
- The podCIDR
-
setPodCIDR
- Parameters:
podCIDR- The podCIDR
-
getPodCIDRs
- Returns:
- The podCIDRs
-
setPodCIDRs
- Parameters:
podCIDRs- The podCIDRs
-
getProviderID
- Returns:
- The providerID
-
setProviderID
- Parameters:
providerID- The providerID
-
getTaints
- Returns:
- The taints
-
setTaints
- Parameters:
taints- The taints
-
getUnschedulable
- Returns:
- The unschedulable
-
setUnschedulable
- Parameters:
unschedulable- The unschedulable
-
getAdditionalProperties
-
setAdditionalProperty
-