Package io.kubernetes.client.custom
Class NodeMetricsList
java.lang.Object
io.kubernetes.client.custom.NodeMetricsList
- All Implemented Interfaces:
KubernetesListObject,KubernetesType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets api version.getItems()Gets the object items.getKind()Gets kind.Gets list metadata.voidsetApiVersion(String apiVersion) voidsetItems(List<NodeMetrics> items) voidvoidsetMetadata(V1ListMeta metadata)
-
Constructor Details
-
NodeMetricsList
public NodeMetricsList()
-
-
Method Details
-
getApiVersion
Description copied from interface:KubernetesTypeGets api version.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
- Specified by:
getApiVersionin interfaceKubernetesType- Returns:
- the api version
-
getKind
Description copied from interface:KubernetesTypeGets 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
- Specified by:
getKindin interfaceKubernetesType- Returns:
- the kind
-
getMetadata
Description copied from interface:KubernetesListObjectGets list metadata.ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
- Specified by:
getMetadatain interfaceKubernetesListObject- Returns:
- the metadata
-
getItems
Description copied from interface:KubernetesListObjectGets the object items.- Specified by:
getItemsin interfaceKubernetesListObject- Returns:
- the items
-
setApiVersion
-
setKind
-
setMetadata
-
setItems
-