public static class ComputeProperties.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ComputeProperties |
build() |
ComputeProperties.Builder |
connectedNetworks(Integer connectedNetworks)
Number of connected networks.
|
ComputeProperties.Builder |
copy(ComputeProperties model) |
ComputeProperties.Builder |
coresCount(Integer coresCount)
Number of CPUs.
|
ComputeProperties.Builder |
cpuModel(String cpuModel)
CPU model name.
|
ComputeProperties.Builder |
description(String description)
Information about the asset.
|
ComputeProperties.Builder |
disks(List<Disk> disks)
Lists the set of disks belonging to the virtual machine.
|
ComputeProperties.Builder |
disksCount(Integer disksCount)
Number of disks.
|
ComputeProperties.Builder |
dnsName(String dnsName)
Fully Qualified DNS Name.
|
ComputeProperties.Builder |
firmware(String firmware)
Information about firmware type for this virtual machine.
|
ComputeProperties.Builder |
gpuDevices(List<GpuDevice> gpuDevices)
List of GPU devices attached to a virtual machine.
|
ComputeProperties.Builder |
gpuDevicesCount(Integer gpuDevicesCount)
Number of GPU devices.
|
ComputeProperties.Builder |
guestState(String guestState)
Guest state.
|
ComputeProperties.Builder |
hardwareVersion(String hardwareVersion)
Hardware version.
|
ComputeProperties.Builder |
hostName(String hostName)
Host name of the VM.
|
ComputeProperties.Builder |
isPmemEnabled(Boolean isPmemEnabled)
Whether Pmem is enabled.
|
ComputeProperties.Builder |
isTpmEnabled(Boolean isTpmEnabled)
Whether Trusted Platform Module (TPM) is enabled.
|
ComputeProperties.Builder |
latencySensitivity(String latencySensitivity)
Latency sensitivity.
|
ComputeProperties.Builder |
memoryInMBs(Long memoryInMBs)
Memory size in MBs.
|
ComputeProperties.Builder |
nics(List<Nic> nics)
List of network ethernet cards attached to a virtual machine.
|
ComputeProperties.Builder |
nicsCount(Integer nicsCount)
Number of network ethernet cards.
|
ComputeProperties.Builder |
nvdimmController(NvdimmController nvdimmController) |
ComputeProperties.Builder |
nvdimms(List<Nvdimm> nvdimms)
The properties of the NVDIMMs attached to a virtual machine.
|
ComputeProperties.Builder |
operatingSystem(String operatingSystem)
Operating system.
|
ComputeProperties.Builder |
operatingSystemVersion(String operatingSystemVersion)
Operating system version.
|
ComputeProperties.Builder |
pmemInMBs(Long pmemInMBs)
Pmem size in MBs.
|
ComputeProperties.Builder |
powerState(String powerState)
The current power state of the virtual machine.
|
ComputeProperties.Builder |
primaryIp(String primaryIp)
Primary IP address of the compute instance.
|
ComputeProperties.Builder |
scsiController(ScsiController scsiController) |
ComputeProperties.Builder |
storageProvisionedInMBs(Long storageProvisionedInMBs)
Provision storage size in MBs.
|
ComputeProperties.Builder |
threadsPerCoreCount(Integer threadsPerCoreCount)
Number of threads per core.
|
public ComputeProperties.Builder primaryIp(String primaryIp)
Primary IP address of the compute instance.
primaryIp
- the value to setpublic ComputeProperties.Builder dnsName(String dnsName)
Fully Qualified DNS Name.
dnsName
- the value to setpublic ComputeProperties.Builder description(String description)
Information about the asset.
description
- the value to setpublic ComputeProperties.Builder coresCount(Integer coresCount)
Number of CPUs.
coresCount
- the value to setpublic ComputeProperties.Builder cpuModel(String cpuModel)
CPU model name.
cpuModel
- the value to setpublic ComputeProperties.Builder gpuDevicesCount(Integer gpuDevicesCount)
Number of GPU devices.
gpuDevicesCount
- the value to setpublic ComputeProperties.Builder gpuDevices(List<GpuDevice> gpuDevices)
List of GPU devices attached to a virtual machine.
gpuDevices
- the value to setpublic ComputeProperties.Builder threadsPerCoreCount(Integer threadsPerCoreCount)
Number of threads per core.
threadsPerCoreCount
- the value to setpublic ComputeProperties.Builder memoryInMBs(Long memoryInMBs)
Memory size in MBs.
memoryInMBs
- the value to setpublic ComputeProperties.Builder isPmemEnabled(Boolean isPmemEnabled)
Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.
isPmemEnabled
- the value to setpublic ComputeProperties.Builder pmemInMBs(Long pmemInMBs)
Pmem size in MBs.
pmemInMBs
- the value to setpublic ComputeProperties.Builder operatingSystem(String operatingSystem)
Operating system.
operatingSystem
- the value to setpublic ComputeProperties.Builder operatingSystemVersion(String operatingSystemVersion)
Operating system version.
operatingSystemVersion
- the value to setpublic ComputeProperties.Builder hostName(String hostName)
Host name of the VM.
hostName
- the value to setpublic ComputeProperties.Builder powerState(String powerState)
The current power state of the virtual machine.
powerState
- the value to setpublic ComputeProperties.Builder guestState(String guestState)
Guest state.
guestState
- the value to setpublic ComputeProperties.Builder isTpmEnabled(Boolean isTpmEnabled)
Whether Trusted Platform Module (TPM) is enabled.
isTpmEnabled
- the value to setpublic ComputeProperties.Builder connectedNetworks(Integer connectedNetworks)
Number of connected networks.
connectedNetworks
- the value to setpublic ComputeProperties.Builder nicsCount(Integer nicsCount)
Number of network ethernet cards.
nicsCount
- the value to setpublic ComputeProperties.Builder nics(List<Nic> nics)
List of network ethernet cards attached to a virtual machine.
nics
- the value to setpublic ComputeProperties.Builder storageProvisionedInMBs(Long storageProvisionedInMBs)
Provision storage size in MBs.
storageProvisionedInMBs
- the value to setpublic ComputeProperties.Builder disksCount(Integer disksCount)
Number of disks.
disksCount
- the value to setpublic ComputeProperties.Builder disks(List<Disk> disks)
Lists the set of disks belonging to the virtual machine. This list is unordered.
disks
- the value to setpublic ComputeProperties.Builder firmware(String firmware)
Information about firmware type for this virtual machine.
firmware
- the value to setpublic ComputeProperties.Builder latencySensitivity(String latencySensitivity)
Latency sensitivity.
latencySensitivity
- the value to setpublic ComputeProperties.Builder nvdimms(List<Nvdimm> nvdimms)
The properties of the NVDIMMs attached to a virtual machine.
nvdimms
- the value to setpublic ComputeProperties.Builder nvdimmController(NvdimmController nvdimmController)
public ComputeProperties.Builder scsiController(ScsiController scsiController)
public ComputeProperties.Builder hardwareVersion(String hardwareVersion)
Hardware version.
hardwareVersion
- the value to setpublic ComputeProperties build()
public ComputeProperties.Builder copy(ComputeProperties model)
Copyright © 2016–2024. All rights reserved.