Class V1NodeSystemInfo

java.lang.Object
io.kubernetes.client.openapi.models.V1NodeSystemInfo

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-05-20T20:47:13.890592Z[Etc/UTC]", comments="Generator version: 7.13.0") public class V1NodeSystemInfo extends Object
NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
  • Field Details

  • Constructor Details

    • V1NodeSystemInfo

      public V1NodeSystemInfo()
  • Method Details

    • architecture

      public V1NodeSystemInfo architecture(@Nonnull String architecture)
    • getArchitecture

      @Nonnull public String getArchitecture()
      The Architecture reported by the node
      Returns:
      architecture
    • setArchitecture

      public void setArchitecture(@Nonnull String architecture)
    • bootID

      public V1NodeSystemInfo bootID(@Nonnull String bootID)
    • getBootID

      @Nonnull public String getBootID()
      Boot ID reported by the node.
      Returns:
      bootID
    • setBootID

      public void setBootID(@Nonnull String bootID)
    • containerRuntimeVersion

      public V1NodeSystemInfo containerRuntimeVersion(@Nonnull String containerRuntimeVersion)
    • getContainerRuntimeVersion

      @Nonnull public String getContainerRuntimeVersion()
      ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).
      Returns:
      containerRuntimeVersion
    • setContainerRuntimeVersion

      public void setContainerRuntimeVersion(@Nonnull String containerRuntimeVersion)
    • kernelVersion

      public V1NodeSystemInfo kernelVersion(@Nonnull String kernelVersion)
    • getKernelVersion

      @Nonnull public String getKernelVersion()
      Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
      Returns:
      kernelVersion
    • setKernelVersion

      public void setKernelVersion(@Nonnull String kernelVersion)
    • kubeProxyVersion

      public V1NodeSystemInfo kubeProxyVersion(@Nonnull String kubeProxyVersion)
    • getKubeProxyVersion

      @Nonnull public String getKubeProxyVersion()
      Deprecated: KubeProxy Version reported by the node.
      Returns:
      kubeProxyVersion
    • setKubeProxyVersion

      public void setKubeProxyVersion(@Nonnull String kubeProxyVersion)
    • kubeletVersion

      public V1NodeSystemInfo kubeletVersion(@Nonnull String kubeletVersion)
    • getKubeletVersion

      @Nonnull public String getKubeletVersion()
      Kubelet Version reported by the node.
      Returns:
      kubeletVersion
    • setKubeletVersion

      public void setKubeletVersion(@Nonnull String kubeletVersion)
    • machineID

      public V1NodeSystemInfo machineID(@Nonnull String machineID)
    • getMachineID

      @Nonnull public String getMachineID()
      MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
      Returns:
      machineID
    • setMachineID

      public void setMachineID(@Nonnull String machineID)
    • operatingSystem

      public V1NodeSystemInfo operatingSystem(@Nonnull String operatingSystem)
    • getOperatingSystem

      @Nonnull public String getOperatingSystem()
      The Operating System reported by the node
      Returns:
      operatingSystem
    • setOperatingSystem

      public void setOperatingSystem(@Nonnull String operatingSystem)
    • osImage

      public V1NodeSystemInfo osImage(@Nonnull String osImage)
    • getOsImage

      @Nonnull public String getOsImage()
      OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
      Returns:
      osImage
    • setOsImage

      public void setOsImage(@Nonnull String osImage)
    • swap

      public V1NodeSystemInfo swap(@Nullable V1NodeSwapStatus swap)
    • getSwap

      @Nullable public V1NodeSwapStatus getSwap()
      Get swap
      Returns:
      swap
    • setSwap

      public void setSwap(@Nullable V1NodeSwapStatus swap)
    • systemUUID

      public V1NodeSystemInfo systemUUID(@Nonnull String systemUUID)
    • getSystemUUID

      @Nonnull public String getSystemUUID()
      SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
      Returns:
      systemUUID
    • setSystemUUID

      public void setSystemUUID(@Nonnull String systemUUID)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to V1NodeSystemInfo
    • fromJson

      public static V1NodeSystemInfo fromJson(String jsonString) throws IOException
      Create an instance of V1NodeSystemInfo given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of V1NodeSystemInfo
      Throws:
      IOException - if the JSON string is invalid with respect to V1NodeSystemInfo
    • toJson

      public String toJson()
      Convert an instance of V1NodeSystemInfo to an JSON string
      Returns:
      JSON string