Class NodeSystemInfo.Builder

  • Enclosing class:
    NodeSystemInfo

    public static class NodeSystemInfo.Builder
    extends java.lang.Object
    • Method Detail

      • architecture

        public NodeSystemInfo.Builder architecture​(@NonNull
                                                   @NonNull java.lang.String architecture)
        The Architecture reported by the node
        Returns:
        this.
      • bootID

        public NodeSystemInfo.Builder bootID​(@NonNull
                                             @NonNull java.lang.String bootID)
        Boot ID reported by the node.
        Returns:
        this.
      • containerRuntimeVersion

        public NodeSystemInfo.Builder containerRuntimeVersion​(@NonNull
                                                              @NonNull java.lang.String containerRuntimeVersion)
        ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).
        Returns:
        this.
      • kernelVersion

        public NodeSystemInfo.Builder kernelVersion​(@NonNull
                                                    @NonNull java.lang.String kernelVersion)
        Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
        Returns:
        this.
      • kubeProxyVersion

        public NodeSystemInfo.Builder kubeProxyVersion​(@NonNull
                                                       @NonNull java.lang.String kubeProxyVersion)
        KubeProxy Version reported by the node.
        Returns:
        this.
      • kubeletVersion

        public NodeSystemInfo.Builder kubeletVersion​(@NonNull
                                                     @NonNull java.lang.String kubeletVersion)
        Kubelet Version reported by the node.
        Returns:
        this.
      • machineID

        public NodeSystemInfo.Builder machineID​(@NonNull
                                                @NonNull java.lang.String machineID)
        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:
        this.
      • operatingSystem

        public NodeSystemInfo.Builder operatingSystem​(@NonNull
                                                      @NonNull java.lang.String operatingSystem)
        The Operating System reported by the node
        Returns:
        this.
      • osImage

        public NodeSystemInfo.Builder osImage​(@NonNull
                                              @NonNull java.lang.String osImage)
        OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
        Returns:
        this.
      • systemUUID

        public NodeSystemInfo.Builder systemUUID​(@NonNull
                                                 @NonNull java.lang.String systemUUID)
        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:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object