Class OlvmHost.Builder

  • Enclosing class:
    OlvmHost

    public static class OlvmHost.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • comment

        public OlvmHost.Builder comment​(String comment)
        Free text containing comments about this object.
        Parameters:
        comment - the value to set
        Returns:
        this builder
      • 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
      • externalStatus

        public OlvmHost.Builder externalStatus​(OlvmHost.ExternalStatus externalStatus)
        Status of storage domain.
        Parameters:
        externalStatus - the value to set
        Returns:
        this builder
      • id

        public OlvmHost.Builder id​(String id)
        A unique identifier.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • 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
      • 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
      • isReinstallationRequired

        public OlvmHost.Builder isReinstallationRequired​(Boolean isReinstallationRequired)
        Specifies whether the host should be reinstalled.
        Parameters:
        isReinstallationRequired - the value to set
        Returns:
        this builder
      • statusDetail

        public OlvmHost.Builder statusDetail​(String statusDetail)
        The host status details.
        Parameters:
        statusDetail - the value to set
        Returns:
        this builder
      • 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
      • 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
      • vgpuPlacement

        public OlvmHost.Builder vgpuPlacement​(OlvmHost.VgpuPlacement vgpuPlacement)
        Specifies the vGPU placement strategy.
        Parameters:
        vgpuPlacement - the value to set
        Returns:
        this builder