public class PodMetrics extends Object implements KubernetesObject
| Constructor and Description |
|---|
PodMetrics() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiVersion()
Gets api version.
|
List<ContainerMetrics> |
getContainers() |
String |
getKind()
Gets kind.
|
V1ObjectMeta |
getMetadata()
Gets metadata.
|
String |
getTimestamp() |
String |
getWindow() |
void |
setApiVersion(String apiVersion) |
void |
setContainers(List<ContainerMetrics> containers) |
void |
setKind(String kind) |
void |
setMetadata(V1ObjectMeta metadata) |
void |
setTimestamp(String timestamp) |
void |
setWindow(String window) |
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 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 List<ContainerMetrics> getContainers()
public void setApiVersion(String apiVersion)
public void setKind(String kind)
public void setMetadata(V1ObjectMeta metadata)
public void setTimestamp(String timestamp)
public void setWindow(String window)
public void setContainers(List<ContainerMetrics> containers)
Copyright © 2021. All rights reserved.