Class NodeSystemInfo.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.NodeSystemInfo.Builder
-
- Enclosing class:
- NodeSystemInfo
public static class NodeSystemInfo.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeSystemInfo.Builder
architecture(@NonNull java.lang.String architecture)
The Architecture reported by the nodeNodeSystemInfo.Builder
bootID(@NonNull java.lang.String bootID)
Boot ID reported by the node.NodeSystemInfo
build()
NodeSystemInfo.Builder
containerRuntimeVersion(@NonNull java.lang.String containerRuntimeVersion)
ContainerRuntime Version reported by the node through runtime remote API (e.g.NodeSystemInfo.Builder
kernelVersion(@NonNull java.lang.String kernelVersion)
Kernel Version reported by the node from 'uname -r' (e.g.NodeSystemInfo.Builder
kubeletVersion(@NonNull java.lang.String kubeletVersion)
Kubelet Version reported by the node.NodeSystemInfo.Builder
kubeProxyVersion(@NonNull java.lang.String kubeProxyVersion)
KubeProxy Version reported by the node.NodeSystemInfo.Builder
machineID(@NonNull java.lang.String machineID)
MachineID reported by the node.NodeSystemInfo.Builder
operatingSystem(@NonNull java.lang.String operatingSystem)
The Operating System reported by the nodeNodeSystemInfo.Builder
osImage(@NonNull java.lang.String osImage)
OS Image reported by the node from /etc/os-release (e.g.NodeSystemInfo.Builder
systemUUID(@NonNull java.lang.String systemUUID)
SystemUUID reported by the node.java.lang.String
toString()
-
-
-
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
.
-
build
public NodeSystemInfo build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-