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()
KubernetesType
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
getApiVersion
in interface KubernetesType
public String getKind()
KubernetesType
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
getKind
in interface KubernetesType
public V1ListMeta getMetadata()
KubernetesListObject
ListMeta 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 KubernetesListObject
public List<NodeMetrics> getItems()
KubernetesListObject
getItems
in interface KubernetesListObject
public 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.