Package io.kubernetes.client.custom
Class NodeMetrics
java.lang.Object
io.kubernetes.client.custom.NodeMetrics
- All Implemented Interfaces:
KubernetesObject
,KubernetesType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets api version.getKind()
Gets kind.Gets metadata.getUsage()
void
setApiVersion
(String apiVersion) void
void
setMetadata
(V1ObjectMeta metadata) void
setTimestamp
(String timestamp) void
void
-
Constructor Details
-
NodeMetrics
public NodeMetrics()
-
-
Method Details
-
getMetadata
Description copied from interface:KubernetesObject
Gets metadata.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- Specified by:
getMetadata
in interfaceKubernetesObject
- Returns:
- the metadata
-
getTimestamp
-
getWindow
-
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
-
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
-
getUsage
-
setKind
-
setApiVersion
-
setMetadata
-
setTimestamp
-
setWindow
-
setUsage
-