Class NodeSystemInfo
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.NodeSystemInfo
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class NodeSystemInfo extends java.lang.Object implements com.marcnuri.yakc.model.Model
NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeSystemInfo.Builder
-
Constructor Summary
Constructors Constructor Description NodeSystemInfo()
NodeSystemInfo(@NonNull java.lang.String architecture, @NonNull java.lang.String bootID, @NonNull java.lang.String containerRuntimeVersion, @NonNull java.lang.String kernelVersion, @NonNull java.lang.String kubeProxyVersion, @NonNull java.lang.String kubeletVersion, @NonNull java.lang.String machineID, @NonNull java.lang.String operatingSystem, @NonNull java.lang.String osImage, @NonNull java.lang.String systemUUID)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeSystemInfo.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getArchitecture()
The Architecture reported by the node@NonNull java.lang.String
getBootID()
Boot ID reported by the node.@NonNull java.lang.String
getContainerRuntimeVersion()
ContainerRuntime Version reported by the node through runtime remote API (e.g.@NonNull java.lang.String
getKernelVersion()
Kernel Version reported by the node from 'uname -r' (e.g.@NonNull java.lang.String
getKubeletVersion()
Kubelet Version reported by the node.@NonNull java.lang.String
getKubeProxyVersion()
KubeProxy Version reported by the node.@NonNull java.lang.String
getMachineID()
MachineID reported by the node.@NonNull java.lang.String
getOperatingSystem()
The Operating System reported by the node@NonNull java.lang.String
getOsImage()
OS Image reported by the node from /etc/os-release (e.g.@NonNull java.lang.String
getSystemUUID()
SystemUUID reported by the node.int
hashCode()
void
setArchitecture(@NonNull java.lang.String architecture)
The Architecture reported by the nodevoid
setBootID(@NonNull java.lang.String bootID)
Boot ID reported by the node.void
setContainerRuntimeVersion(@NonNull java.lang.String containerRuntimeVersion)
ContainerRuntime Version reported by the node through runtime remote API (e.g.void
setKernelVersion(@NonNull java.lang.String kernelVersion)
Kernel Version reported by the node from 'uname -r' (e.g.void
setKubeletVersion(@NonNull java.lang.String kubeletVersion)
Kubelet Version reported by the node.void
setKubeProxyVersion(@NonNull java.lang.String kubeProxyVersion)
KubeProxy Version reported by the node.void
setMachineID(@NonNull java.lang.String machineID)
MachineID reported by the node.void
setOperatingSystem(@NonNull java.lang.String operatingSystem)
The Operating System reported by the nodevoid
setOsImage(@NonNull java.lang.String osImage)
OS Image reported by the node from /etc/os-release (e.g.void
setSystemUUID(@NonNull java.lang.String systemUUID)
SystemUUID reported by the node.NodeSystemInfo.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
NodeSystemInfo
public NodeSystemInfo(@NonNull @NonNull java.lang.String architecture, @NonNull @NonNull java.lang.String bootID, @NonNull @NonNull java.lang.String containerRuntimeVersion, @NonNull @NonNull java.lang.String kernelVersion, @NonNull @NonNull java.lang.String kubeProxyVersion, @NonNull @NonNull java.lang.String kubeletVersion, @NonNull @NonNull java.lang.String machineID, @NonNull @NonNull java.lang.String operatingSystem, @NonNull @NonNull java.lang.String osImage, @NonNull @NonNull java.lang.String systemUUID)
-
NodeSystemInfo
public NodeSystemInfo()
-
-
Method Detail
-
builder
public static NodeSystemInfo.Builder builder()
-
toBuilder
public NodeSystemInfo.Builder toBuilder()
-
getArchitecture
@NonNull public @NonNull java.lang.String getArchitecture()
The Architecture reported by the node
-
getBootID
@NonNull public @NonNull java.lang.String getBootID()
Boot ID reported by the node.
-
getContainerRuntimeVersion
@NonNull public @NonNull java.lang.String getContainerRuntimeVersion()
ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).
-
getKernelVersion
@NonNull public @NonNull java.lang.String getKernelVersion()
Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
-
getKubeProxyVersion
@NonNull public @NonNull java.lang.String getKubeProxyVersion()
KubeProxy Version reported by the node.
-
getKubeletVersion
@NonNull public @NonNull java.lang.String getKubeletVersion()
Kubelet Version reported by the node.
-
getMachineID
@NonNull public @NonNull java.lang.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
-
getOperatingSystem
@NonNull public @NonNull java.lang.String getOperatingSystem()
The Operating System reported by the node
-
getOsImage
@NonNull public @NonNull java.lang.String getOsImage()
OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
-
getSystemUUID
@NonNull public @NonNull java.lang.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
-
setArchitecture
public void setArchitecture(@NonNull @NonNull java.lang.String architecture)
The Architecture reported by the node
-
setBootID
public void setBootID(@NonNull @NonNull java.lang.String bootID)
Boot ID reported by the node.
-
setContainerRuntimeVersion
public void setContainerRuntimeVersion(@NonNull @NonNull java.lang.String containerRuntimeVersion)
ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).
-
setKernelVersion
public void setKernelVersion(@NonNull @NonNull java.lang.String kernelVersion)
Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
-
setKubeProxyVersion
public void setKubeProxyVersion(@NonNull @NonNull java.lang.String kubeProxyVersion)
KubeProxy Version reported by the node.
-
setKubeletVersion
public void setKubeletVersion(@NonNull @NonNull java.lang.String kubeletVersion)
Kubelet Version reported by the node.
-
setMachineID
public void setMachineID(@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
-
setOperatingSystem
public void setOperatingSystem(@NonNull @NonNull java.lang.String operatingSystem)
The Operating System reported by the node
-
setOsImage
public void setOsImage(@NonNull @NonNull java.lang.String osImage)
OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
-
setSystemUUID
public void setSystemUUID(@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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-