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()voidsetApiVersion(String apiVersion) voidvoidsetMetadata(V1ObjectMeta metadata) voidsetTimestamp(String timestamp) voidvoid
-
Constructor Details
-
NodeMetrics
public NodeMetrics()
-
-
Method Details
-
getMetadata
Description copied from interface:KubernetesObjectGets metadata.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- Specified by:
getMetadatain interfaceKubernetesObject- Returns:
- the metadata
-
getTimestamp
-
getWindow
-
getKind
Description copied from interface:KubernetesTypeGets 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:
getKindin interfaceKubernetesType- Returns:
- the kind
-
getApiVersion
Description copied from interface:KubernetesTypeGets 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:
getApiVersionin interfaceKubernetesType- Returns:
- the api version
-
getUsage
-
setKind
-
setApiVersion
-
setMetadata
-
setTimestamp
-
setWindow
-
setUsage
-