public class NodeMetrics extends Object implements KubernetesObject
| Constructor and Description |
|---|
NodeMetrics() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiVersion()
Gets api version.
|
String |
getKind()
Gets kind.
|
V1ObjectMeta |
getMetadata()
Gets metadata.
|
String |
getTimestamp() |
Map<String,Quantity> |
getUsage() |
String |
getWindow() |
void |
setApiVersion(String apiVersion) |
void |
setKind(String kind) |
void |
setMetadata(V1ObjectMeta metadata) |
void |
setTimestamp(String timestamp) |
void |
setUsage(Map<String,Quantity> usage) |
void |
setWindow(String window) |
public V1ObjectMeta getMetadata()
KubernetesObjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
getMetadata in interface KubernetesObjectpublic String getTimestamp()
public String getWindow()
public 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 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 void setKind(String kind)
public void setApiVersion(String apiVersion)
public void setMetadata(V1ObjectMeta metadata)
public void setTimestamp(String timestamp)
public void setWindow(String window)
Copyright © 2022. All rights reserved.