Package com.oracle.bmc.cloudbridge.model
Class ComputeProperties.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudbridge.model.ComputeProperties.Builder
 
- 
- Enclosing class:
- ComputeProperties
 
 public static class ComputeProperties.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputePropertiesbuild()ComputeProperties.BuilderconnectedNetworks(Integer connectedNetworks)Number of connected networks.ComputeProperties.Buildercopy(ComputeProperties model)ComputeProperties.BuildercoresCount(Integer coresCount)Number of CPUs.ComputeProperties.BuildercpuModel(String cpuModel)CPU model name.ComputeProperties.Builderdescription(String description)Information about the asset.ComputeProperties.Builderdisks(List<Disk> disks)Lists the set of disks belonging to the virtual machine.ComputeProperties.BuilderdisksCount(Integer disksCount)Number of disks.ComputeProperties.BuilderdnsName(String dnsName)Fully Qualified DNS Name.ComputeProperties.Builderfirmware(String firmware)Information about firmware type for this virtual machine.ComputeProperties.BuildergpuDevices(List<GpuDevice> gpuDevices)List of GPU devices attached to a virtual machine.ComputeProperties.BuildergpuDevicesCount(Integer gpuDevicesCount)Number of GPU devices.ComputeProperties.BuilderguestState(String guestState)Guest state.ComputeProperties.BuilderhardwareVersion(String hardwareVersion)Hardware version.ComputeProperties.BuilderhostName(String hostName)Host name of the VM.ComputeProperties.BuilderisPmemEnabled(Boolean isPmemEnabled)Whether Pmem is enabled.ComputeProperties.BuilderisTpmEnabled(Boolean isTpmEnabled)Whether Trusted Platform Module (TPM) is enabled.ComputeProperties.BuilderlatencySensitivity(String latencySensitivity)Latency sensitivity.ComputeProperties.BuildermemoryInMBs(Long memoryInMBs)Memory size in MBs.ComputeProperties.Buildernics(List<Nic> nics)List of network ethernet cards attached to a virtual machine.ComputeProperties.BuildernicsCount(Integer nicsCount)Number of network ethernet cards.ComputeProperties.BuildernvdimmController(NvdimmController nvdimmController)ComputeProperties.Buildernvdimms(List<Nvdimm> nvdimms)The properties of the NVDIMMs attached to a virtual machine.ComputeProperties.BuilderoperatingSystem(String operatingSystem)Operating system.ComputeProperties.BuilderoperatingSystemVersion(String operatingSystemVersion)Operating system version.ComputeProperties.BuilderpmemInMBs(Long pmemInMBs)Pmem size in MBs.ComputeProperties.BuilderpowerState(String powerState)The current power state of the virtual machine.ComputeProperties.BuilderprimaryIp(String primaryIp)Primary IP address of the compute instance.ComputeProperties.BuilderscsiController(ScsiController scsiController)ComputeProperties.BuilderstorageProvisionedInMBs(Long storageProvisionedInMBs)Provision storage size in MBs.ComputeProperties.BuilderthreadsPerCoreCount(Integer threadsPerCoreCount)Number of threads per core.
 
- 
- 
- 
Method Detail- 
primaryIppublic ComputeProperties.Builder primaryIp(String primaryIp) Primary IP address of the compute instance.- Parameters:
- primaryIp- the value to set
- Returns:
- this builder
 
 - 
dnsNamepublic ComputeProperties.Builder dnsName(String dnsName) Fully Qualified DNS Name.- Parameters:
- dnsName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ComputeProperties.Builder description(String description) Information about the asset.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
coresCountpublic ComputeProperties.Builder coresCount(Integer coresCount) Number of CPUs.- Parameters:
- coresCount- the value to set
- Returns:
- this builder
 
 - 
cpuModelpublic ComputeProperties.Builder cpuModel(String cpuModel) CPU model name.- Parameters:
- cpuModel- the value to set
- Returns:
- this builder
 
 - 
gpuDevicesCountpublic ComputeProperties.Builder gpuDevicesCount(Integer gpuDevicesCount) Number of GPU devices.- Parameters:
- gpuDevicesCount- the value to set
- Returns:
- this builder
 
 - 
gpuDevicespublic ComputeProperties.Builder gpuDevices(List<GpuDevice> gpuDevices) List of GPU devices attached to a virtual machine.- Parameters:
- gpuDevices- the value to set
- Returns:
- this builder
 
 - 
threadsPerCoreCountpublic ComputeProperties.Builder threadsPerCoreCount(Integer threadsPerCoreCount) Number of threads per core.- Parameters:
- threadsPerCoreCount- the value to set
- Returns:
- this builder
 
 - 
memoryInMBspublic ComputeProperties.Builder memoryInMBs(Long memoryInMBs) Memory size in MBs.- Parameters:
- memoryInMBs- the value to set
- Returns:
- this builder
 
 - 
isPmemEnabledpublic ComputeProperties.Builder isPmemEnabled(Boolean isPmemEnabled) Whether Pmem is enabled.Decides if NVDIMMs are used as a permanent memory. - Parameters:
- isPmemEnabled- the value to set
- Returns:
- this builder
 
 - 
pmemInMBspublic ComputeProperties.Builder pmemInMBs(Long pmemInMBs) Pmem size in MBs.- Parameters:
- pmemInMBs- the value to set
- Returns:
- this builder
 
 - 
operatingSystempublic ComputeProperties.Builder operatingSystem(String operatingSystem) Operating system.- Parameters:
- operatingSystem- the value to set
- Returns:
- this builder
 
 - 
operatingSystemVersionpublic ComputeProperties.Builder operatingSystemVersion(String operatingSystemVersion) Operating system version.- Parameters:
- operatingSystemVersion- the value to set
- Returns:
- this builder
 
 - 
hostNamepublic ComputeProperties.Builder hostName(String hostName) Host name of the VM.- Parameters:
- hostName- the value to set
- Returns:
- this builder
 
 - 
powerStatepublic ComputeProperties.Builder powerState(String powerState) The current power state of the virtual machine.- Parameters:
- powerState- the value to set
- Returns:
- this builder
 
 - 
guestStatepublic ComputeProperties.Builder guestState(String guestState) Guest state.- Parameters:
- guestState- the value to set
- Returns:
- this builder
 
 - 
isTpmEnabledpublic ComputeProperties.Builder isTpmEnabled(Boolean isTpmEnabled) Whether Trusted Platform Module (TPM) is enabled.- Parameters:
- isTpmEnabled- the value to set
- Returns:
- this builder
 
 - 
connectedNetworkspublic ComputeProperties.Builder connectedNetworks(Integer connectedNetworks) Number of connected networks.- Parameters:
- connectedNetworks- the value to set
- Returns:
- this builder
 
 - 
nicsCountpublic ComputeProperties.Builder nicsCount(Integer nicsCount) Number of network ethernet cards.- Parameters:
- nicsCount- the value to set
- Returns:
- this builder
 
 - 
nicspublic ComputeProperties.Builder nics(List<Nic> nics) List of network ethernet cards attached to a virtual machine.- Parameters:
- nics- the value to set
- Returns:
- this builder
 
 - 
storageProvisionedInMBspublic ComputeProperties.Builder storageProvisionedInMBs(Long storageProvisionedInMBs) Provision storage size in MBs.- Parameters:
- storageProvisionedInMBs- the value to set
- Returns:
- this builder
 
 - 
disksCountpublic ComputeProperties.Builder disksCount(Integer disksCount) Number of disks.- Parameters:
- disksCount- the value to set
- Returns:
- this builder
 
 - 
diskspublic ComputeProperties.Builder disks(List<Disk> disks) Lists the set of disks belonging to the virtual machine.This list is unordered. - Parameters:
- disks- the value to set
- Returns:
- this builder
 
 - 
firmwarepublic ComputeProperties.Builder firmware(String firmware) Information about firmware type for this virtual machine.- Parameters:
- firmware- the value to set
- Returns:
- this builder
 
 - 
latencySensitivitypublic ComputeProperties.Builder latencySensitivity(String latencySensitivity) Latency sensitivity.- Parameters:
- latencySensitivity- the value to set
- Returns:
- this builder
 
 - 
nvdimmspublic ComputeProperties.Builder nvdimms(List<Nvdimm> nvdimms) The properties of the NVDIMMs attached to a virtual machine.- Parameters:
- nvdimms- the value to set
- Returns:
- this builder
 
 - 
nvdimmControllerpublic ComputeProperties.Builder nvdimmController(NvdimmController nvdimmController) 
 - 
scsiControllerpublic ComputeProperties.Builder scsiController(ScsiController scsiController) 
 - 
hardwareVersionpublic ComputeProperties.Builder hardwareVersion(String hardwareVersion) Hardware version.- Parameters:
- hardwareVersion- the value to set
- Returns:
- this builder
 
 - 
buildpublic ComputeProperties build() 
 - 
copypublic ComputeProperties.Builder copy(ComputeProperties model) 
 
- 
 
-