Package io.kubernetes.client.custom
Class PodMetricsList
java.lang.Object
io.kubernetes.client.custom.PodMetricsList
- 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.void
setApiVersion
(String apiVersion) void
setItems
(List<PodMetrics> items) void
void
setMetadata
(V1ListMeta metadata)
-
Constructor Details
-
PodMetricsList
public PodMetricsList()
-
-
Method Details
-
getApiVersion
Description copied from interface:KubernetesType
Gets 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:
getApiVersion
in interfaceKubernetesType
- Returns:
- the api version
-
getKind
Description copied from interface:KubernetesType
Gets 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:
getKind
in interfaceKubernetesType
- Returns:
- the kind
-
getMetadata
Description copied from interface:KubernetesListObject
Gets 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:
getMetadata
in interfaceKubernetesListObject
- Returns:
- the metadata
-
getItems
Description copied from interface:KubernetesListObject
Gets the object items.- Specified by:
getItems
in interfaceKubernetesListObject
- Returns:
- the items
-
setApiVersion
-
setKind
-
setMetadata
-
setItems
-