Package com.oracle.bmc.opsi.model
Class HostCpuHardwareConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.HostCpuHardwareConfiguration.Builder
-
- Enclosing class:
- HostCpuHardwareConfiguration
public static class HostCpuHardwareConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
timeCollected
public HostCpuHardwareConfiguration.Builder timeCollected(Date timeCollected)
-
totalSockets
public HostCpuHardwareConfiguration.Builder totalSockets(Integer totalSockets)
Total number of CPU Sockets- Parameters:
totalSockets
- the value to set- Returns:
- this builder
-
vendorName
public HostCpuHardwareConfiguration.Builder vendorName(String vendorName)
Name of the CPU vendor- Parameters:
vendorName
- the value to set- Returns:
- this builder
-
frequencyInMhz
public HostCpuHardwareConfiguration.Builder frequencyInMhz(Double frequencyInMhz)
Clock frequency of the processor in megahertz- Parameters:
frequencyInMhz
- the value to set- Returns:
- this builder
-
cacheInMB
public HostCpuHardwareConfiguration.Builder cacheInMB(Double cacheInMB)
Size of cache memory in megabytes- Parameters:
cacheInMB
- the value to set- Returns:
- this builder
-
cpuImplementation
public HostCpuHardwareConfiguration.Builder cpuImplementation(String cpuImplementation)
Model name of processor- Parameters:
cpuImplementation
- the value to set- Returns:
- this builder
-
model
public HostCpuHardwareConfiguration.Builder model(String model)
CPU model- Parameters:
model
- the value to set- Returns:
- this builder
-
cpuFamily
public HostCpuHardwareConfiguration.Builder cpuFamily(String cpuFamily)
Type of processor in the system- Parameters:
cpuFamily
- the value to set- Returns:
- this builder
-
coresPerSocket
public HostCpuHardwareConfiguration.Builder coresPerSocket(Integer coresPerSocket)
Number of cores per socket- Parameters:
coresPerSocket
- the value to set- Returns:
- this builder
-
threadsPerSocket
public HostCpuHardwareConfiguration.Builder threadsPerSocket(Integer threadsPerSocket)
Number of threads per socket- Parameters:
threadsPerSocket
- the value to set- Returns:
- this builder
-
hyperThreadingEnabled
public HostCpuHardwareConfiguration.Builder hyperThreadingEnabled(String hyperThreadingEnabled)
Indicates if hyper-threading is enabled or not- Parameters:
hyperThreadingEnabled
- the value to set- Returns:
- this builder
-
build
public HostCpuHardwareConfiguration build()
-
copy
public HostCpuHardwareConfiguration.Builder copy(HostCpuHardwareConfiguration model)
-
-