public class NodeMetricsList extends Object implements KubernetesListObject
| Constructor and Description |
|---|
NodeMetricsList() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiVersion()
Gets api version.
|
List<NodeMetrics> |
getItems()
Gets the object items.
|
String |
getKind()
Gets kind.
|
V1ListMeta |
getMetadata()
Gets list metadata.
|
void |
setApiVersion(String apiVersion) |
void |
setItems(List<NodeMetrics> items) |
void |
setKind(String kind) |
void |
setMetadata(V1ListMeta metadata) |
public String getApiVersion()
KubernetesTypeAPIVersion 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
getApiVersion in interface KubernetesTypepublic String getKind()
KubernetesTypeKind 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
getKind in interface KubernetesTypepublic V1ListMeta getMetadata()
KubernetesListObjectListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
getMetadata in interface KubernetesListObjectpublic List<NodeMetrics> getItems()
KubernetesListObjectgetItems in interface KubernetesListObjectpublic void setApiVersion(String apiVersion)
public void setKind(String kind)
public void setMetadata(V1ListMeta metadata)
public void setItems(List<NodeMetrics> items)
Copyright © 2020. All rights reserved.