public static interface SystemInfo.Builder
| Modifier and Type | Method and Description | 
|---|---|
SystemInfo | 
build()
Builds a SystemInfo object. 
 | 
SystemInfo.Builder | 
cpuSpeed(int cpuSpeedMhz)
Sets CPU speed. 
 | 
SystemInfo.Builder | 
numOfCores(int numOfCores)
Sets number of CPU cores. 
 | 
SystemInfo.Builder | 
numOfCpus(int numOfCpus)
Sets number of CPUs. 
 | 
SystemInfo.Builder | 
totalMemory(int totalMemoryMbytes)
Sets total amount of memory. 
 | 
SystemInfo.Builder numOfCores(int numOfCores)
numOfCores - number of CPU coresSystemInfo.Builder numOfCpus(int numOfCpus)
numOfCpus - number of CPUsSystemInfo.Builder cpuSpeed(int cpuSpeedMhz)
cpuSpeedMhz - CPU speed in MhzSystemInfo.Builder totalMemory(int totalMemoryMbytes)
totalMemoryMbytes - memory size in Mega BytesSystemInfo build()