Class NodeMetricsList

java.lang.Object
io.kubernetes.client.custom.NodeMetricsList
All Implemented Interfaces:
KubernetesListObject, KubernetesType

public class NodeMetricsList extends Object implements KubernetesListObject
  • Constructor Details

    • NodeMetricsList

      public NodeMetricsList()
  • Method Details

    • getApiVersion

      public String 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 interface KubernetesType
      Returns:
      the api version
    • getKind

      public String 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 interface KubernetesType
      Returns:
      the kind
    • getMetadata

      public V1ListMeta 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 interface KubernetesListObject
      Returns:
      the metadata
    • getItems

      public List<NodeMetrics> getItems()
      Description copied from interface: KubernetesListObject
      Gets the object items.
      Specified by:
      getItems in interface KubernetesListObject
      Returns:
      the items
    • setApiVersion

      public void setApiVersion(String apiVersion)
    • setKind

      public void setKind(String kind)
    • setMetadata

      public void setMetadata(V1ListMeta metadata)
    • setItems

      public void setItems(List<NodeMetrics> items)