public static class DBOSConfigInstance.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DBOSConfigInstance |
build() |
DBOSConfigInstance.Builder |
copy(DBOSConfigInstance model) |
DBOSConfigInstance.Builder |
hostName(String hostName)
Host name of the database instance.
|
DBOSConfigInstance.Builder |
instanceName(String instanceName)
Name of the database instance.
|
DBOSConfigInstance.Builder |
numCPUCores(Integer numCPUCores)
Number of CPU cores available (includes subcores of multicore CPUs as well as single-core
CPUs).
|
DBOSConfigInstance.Builder |
numCPUs(Integer numCPUs)
Total number of CPUs available.
|
DBOSConfigInstance.Builder |
numCPUSockets(Integer numCPUSockets)
Number of CPU Sockets available.
|
DBOSConfigInstance.Builder |
physicalMemoryBytes(Double physicalMemoryBytes)
Total number of bytes of physical memory.
|
DBOSConfigInstance.Builder |
timeCollected(Date timeCollected) |
public DBOSConfigInstance.Builder timeCollected(Date timeCollected)
public DBOSConfigInstance.Builder instanceName(String instanceName)
Name of the database instance.
instanceName
- the value to setpublic DBOSConfigInstance.Builder hostName(String hostName)
Host name of the database instance.
hostName
- the value to setpublic DBOSConfigInstance.Builder numCPUs(Integer numCPUs)
Total number of CPUs available.
numCPUs
- the value to setpublic DBOSConfigInstance.Builder numCPUCores(Integer numCPUCores)
Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs).
numCPUCores
- the value to setpublic DBOSConfigInstance.Builder numCPUSockets(Integer numCPUSockets)
Number of CPU Sockets available.
numCPUSockets
- the value to setpublic DBOSConfigInstance.Builder physicalMemoryBytes(Double physicalMemoryBytes)
Total number of bytes of physical memory.
physicalMemoryBytes
- the value to setpublic DBOSConfigInstance build()
public DBOSConfigInstance.Builder copy(DBOSConfigInstance model)
Copyright © 2016–2024. All rights reserved.