public static class HostCpuHardwareConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
public HostCpuHardwareConfiguration.Builder timeCollected(Date timeCollected)
public HostCpuHardwareConfiguration.Builder totalSockets(Integer totalSockets)
Total number of CPU Sockets
totalSockets
- the value to setpublic HostCpuHardwareConfiguration.Builder vendorName(String vendorName)
Name of the CPU vendor
vendorName
- the value to setpublic HostCpuHardwareConfiguration.Builder frequencyInMhz(Double frequencyInMhz)
Clock frequency of the processor in megahertz
frequencyInMhz
- the value to setpublic HostCpuHardwareConfiguration.Builder cacheInMB(Double cacheInMB)
Size of cache memory in megabytes
cacheInMB
- the value to setpublic HostCpuHardwareConfiguration.Builder cpuImplementation(String cpuImplementation)
Model name of processor
cpuImplementation
- the value to setpublic HostCpuHardwareConfiguration.Builder model(String model)
CPU model
model
- the value to setpublic HostCpuHardwareConfiguration.Builder cpuFamily(String cpuFamily)
Type of processor in the system
cpuFamily
- the value to setpublic HostCpuHardwareConfiguration.Builder coresPerSocket(Integer coresPerSocket)
Number of cores per socket
coresPerSocket
- the value to setpublic HostCpuHardwareConfiguration.Builder threadsPerSocket(Integer threadsPerSocket)
Number of threads per socket
threadsPerSocket
- the value to setpublic HostCpuHardwareConfiguration.Builder hyperThreadingEnabled(String hyperThreadingEnabled)
Indicates if hyper-threading is enabled or not
hyperThreadingEnabled
- the value to setpublic HostCpuHardwareConfiguration build()
public HostCpuHardwareConfiguration.Builder copy(HostCpuHardwareConfiguration model)
Copyright © 2016–2024. All rights reserved.