Package io.fabric8.kubernetes.api.model
Class NodeList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.NodeList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NodeListBuilder>,KubernetesResource,KubernetesResourceList<Node>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeList extends Object implements io.fabric8.kubernetes.api.builder.Editable<NodeListBuilder>, KubernetesResource, KubernetesResourceList<Node>
NodeList is the whole list of all Nodes which have been registered with master.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<Node>getItems()List of nodesStringgetKind()Kind is a string value representing the REST resource this object represents.ListMetagetMetadata()NodeList is the whole list of all Nodes which have been registered with master.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetItems(List<Node> items)List of nodesvoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(ListMeta metadata)NodeList is the whole list of all Nodes which have been registered with master.NodeListBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
getItems
public List<Node> getItems()
List of nodes- Specified by:
getItemsin interfaceKubernetesResourceList<Node>
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getMetadata
public ListMeta getMetadata()
NodeList is the whole list of all Nodes which have been registered with master.- Specified by:
getMetadatain interfaceKubernetesResourceList<Node>
-
setMetadata
public void setMetadata(ListMeta metadata)
NodeList is the whole list of all Nodes which have been registered with master.
-
edit
public NodeListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NodeListBuilder>
-
toBuilder
public NodeListBuilder toBuilder()
-
-