Class OlvmHost.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.OlvmHost.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OlvmHost.Builderaddress(String address)The host address (FQDN/IP).OlvmHost.BuilderautoNumaStatus(OlvmHost.AutoNumaStatus autoNumaStatus)The host auto non uniform memory access (NUMA) status.OlvmHostbuild()OlvmHost.Buildercertificate(OlvmCertificate certificate)OlvmHost.Buildercomment(String comment)Free text containing comments about this object.OlvmHost.Buildercopy(OlvmHost model)OlvmHost.Buildercpu(OlvmCpu cpu)OlvmHost.Builderdescription(String description)A human-readable description in plain text.OlvmHost.Builderdisplay(OlvmDisplay display)OlvmHost.BuilderexternalStatus(OlvmHost.ExternalStatus externalStatus)Status of storage domain.OlvmHost.BuilderhardwareInformation(OlvmHardwareInformation hardwareInformation)OlvmHost.BuilderhostedEngine(OlvmHostedEngine hostedEngine)OlvmHost.BuilderhostStatus(OlvmHostStatus hostStatus)OlvmHost.Builderid(String id)A unique identifier.OlvmHost.Builderiscsi(OlvmIscsiDetails iscsi)OlvmHost.BuilderisHostDevicePassthrough(Boolean isHostDevicePassthrough)Specifies whether host device passthrough is enabled on this host.OlvmHost.BuilderisNetworkOperationInProgress(Boolean isNetworkOperationInProgress)Specifies whether a network-related operation, such as ‘setup networks’, ‘sync networks’, or ‘refresh capabilities’, is currently being executed on this host.OlvmHost.BuilderisNumaSupported(Boolean isNumaSupported)Specifies whether non uniform memory access (NUMA) is supported on this host.OlvmHost.BuilderisOverrideIpTables(Boolean isOverrideIpTables)Specifies whether we should override firewall definitionsOlvmHost.BuilderisOvnConfigured(Boolean isOvnConfigured)Indicates if the host has correctly configured OVN.OlvmHost.BuilderisReinstallationRequired(Boolean isReinstallationRequired)Specifies whether the host should be reinstalled.OlvmHost.BuilderisTransparentHugePagesEnabled(Boolean isTransparentHugePagesEnabled)Indicates if transparent huge pages (THP) support is enabled.OlvmHost.BuilderisUpdateAvailable(Boolean isUpdateAvailable)Specified whether there is an oVirt-related update on this host.OlvmHost.BuilderkdumpStatus(OlvmHost.KdumpStatus kdumpStatus)The host KDUMP status.OlvmHost.Builderksm(Ksm ksm)OlvmHost.BuilderlibvirtVersion(OlvmVersion libvirtVersion)OlvmHost.BuildermaxSchedulingMemoryInBytes(Long maxSchedulingMemoryInBytes)The max scheduling memory on this host in bytes.OlvmHost.BuildermemoryInBytes(Long memoryInBytes)The amount of physical memory on this host in bytes.OlvmHost.Buildername(String name)Name of the property.OlvmHost.Builderos(OlvmOperatingSystem os)OlvmHost.Builderport(Integer port)The host port.OlvmHost.BuilderpowerManagement(OlvmPowerManagement powerManagement)OlvmHost.BuilderseLinux(OlvmSelinux seLinux)OlvmHost.Builderspm(OlvmSpm spm)OlvmHost.BuilderstatusDetail(String statusDetail)The host status details.OlvmHost.Buildersummary(OlvmVmSummary summary)OlvmHost.Buildertype(OlvmHostType type)OlvmHost.Builderversion(OlvmVersion version)OlvmHost.BuildervgpuPlacement(OlvmHost.VgpuPlacement vgpuPlacement)Specifies the vGPU placement strategy.
-
-
-
Method Detail
-
address
public OlvmHost.Builder address(String address)
The host address (FQDN/IP).- Parameters:
address- the value to set- Returns:
- this builder
-
autoNumaStatus
public OlvmHost.Builder autoNumaStatus(OlvmHost.AutoNumaStatus autoNumaStatus)
The host auto non uniform memory access (NUMA) status.- Parameters:
autoNumaStatus- the value to set- Returns:
- this builder
-
certificate
public OlvmHost.Builder certificate(OlvmCertificate certificate)
-
comment
public OlvmHost.Builder comment(String comment)
Free text containing comments about this object.- Parameters:
comment- the value to set- Returns:
- this builder
-
cpu
public OlvmHost.Builder cpu(OlvmCpu cpu)
-
description
public OlvmHost.Builder description(String description)
A human-readable description in plain text.- Parameters:
description- the value to set- Returns:
- this builder
-
isHostDevicePassthrough
public OlvmHost.Builder isHostDevicePassthrough(Boolean isHostDevicePassthrough)
Specifies whether host device passthrough is enabled on this host.- Parameters:
isHostDevicePassthrough- the value to set- Returns:
- this builder
-
display
public OlvmHost.Builder display(OlvmDisplay display)
-
externalStatus
public OlvmHost.Builder externalStatus(OlvmHost.ExternalStatus externalStatus)
Status of storage domain.- Parameters:
externalStatus- the value to set- Returns:
- this builder
-
hardwareInformation
public OlvmHost.Builder hardwareInformation(OlvmHardwareInformation hardwareInformation)
-
hostedEngine
public OlvmHost.Builder hostedEngine(OlvmHostedEngine hostedEngine)
-
id
public OlvmHost.Builder id(String id)
A unique identifier.- Parameters:
id- the value to set- Returns:
- this builder
-
iscsi
public OlvmHost.Builder iscsi(OlvmIscsiDetails iscsi)
-
kdumpStatus
public OlvmHost.Builder kdumpStatus(OlvmHost.KdumpStatus kdumpStatus)
The host KDUMP status.- Parameters:
kdumpStatus- the value to set- Returns:
- this builder
-
ksm
public OlvmHost.Builder ksm(Ksm ksm)
-
libvirtVersion
public OlvmHost.Builder libvirtVersion(OlvmVersion libvirtVersion)
-
maxSchedulingMemoryInBytes
public OlvmHost.Builder maxSchedulingMemoryInBytes(Long maxSchedulingMemoryInBytes)
The max scheduling memory on this host in bytes.- Parameters:
maxSchedulingMemoryInBytes- the value to set- Returns:
- this builder
-
memoryInBytes
public OlvmHost.Builder memoryInBytes(Long memoryInBytes)
The amount of physical memory on this host in bytes.- Parameters:
memoryInBytes- the value to set- Returns:
- this builder
-
name
public OlvmHost.Builder name(String name)
Name of the property.- Parameters:
name- the value to set- Returns:
- this builder
-
isNetworkOperationInProgress
public OlvmHost.Builder isNetworkOperationInProgress(Boolean isNetworkOperationInProgress)
Specifies whether a network-related operation, such as ‘setup networks’, ‘sync networks’, or ‘refresh capabilities’, is currently being executed on this host.- Parameters:
isNetworkOperationInProgress- the value to set- Returns:
- this builder
-
isNumaSupported
public OlvmHost.Builder isNumaSupported(Boolean isNumaSupported)
Specifies whether non uniform memory access (NUMA) is supported on this host.- Parameters:
isNumaSupported- the value to set- Returns:
- this builder
-
os
public OlvmHost.Builder os(OlvmOperatingSystem os)
-
isOverrideIpTables
public OlvmHost.Builder isOverrideIpTables(Boolean isOverrideIpTables)
Specifies whether we should override firewall definitions- Parameters:
isOverrideIpTables- the value to set- Returns:
- this builder
-
isOvnConfigured
public OlvmHost.Builder isOvnConfigured(Boolean isOvnConfigured)
Indicates if the host has correctly configured OVN.- Parameters:
isOvnConfigured- the value to set- Returns:
- this builder
-
port
public OlvmHost.Builder port(Integer port)
The host port.- Parameters:
port- the value to set- Returns:
- this builder
-
powerManagement
public OlvmHost.Builder powerManagement(OlvmPowerManagement powerManagement)
-
isReinstallationRequired
public OlvmHost.Builder isReinstallationRequired(Boolean isReinstallationRequired)
Specifies whether the host should be reinstalled.- Parameters:
isReinstallationRequired- the value to set- Returns:
- this builder
-
seLinux
public OlvmHost.Builder seLinux(OlvmSelinux seLinux)
-
spm
public OlvmHost.Builder spm(OlvmSpm spm)
-
hostStatus
public OlvmHost.Builder hostStatus(OlvmHostStatus hostStatus)
-
statusDetail
public OlvmHost.Builder statusDetail(String statusDetail)
The host status details.- Parameters:
statusDetail- the value to set- Returns:
- this builder
-
summary
public OlvmHost.Builder summary(OlvmVmSummary summary)
-
isTransparentHugePagesEnabled
public OlvmHost.Builder isTransparentHugePagesEnabled(Boolean isTransparentHugePagesEnabled)
Indicates if transparent huge pages (THP) support is enabled.- Parameters:
isTransparentHugePagesEnabled- the value to set- Returns:
- this builder
-
type
public OlvmHost.Builder type(OlvmHostType type)
-
isUpdateAvailable
public OlvmHost.Builder isUpdateAvailable(Boolean isUpdateAvailable)
Specified whether there is an oVirt-related update on this host.- Parameters:
isUpdateAvailable- the value to set- Returns:
- this builder
-
version
public OlvmHost.Builder version(OlvmVersion version)
-
vgpuPlacement
public OlvmHost.Builder vgpuPlacement(OlvmHost.VgpuPlacement vgpuPlacement)
Specifies the vGPU placement strategy.- Parameters:
vgpuPlacement- the value to set- Returns:
- this builder
-
build
public OlvmHost build()
-
copy
public OlvmHost.Builder copy(OlvmHost model)
-
-