Class OlvmOperatingSystem.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.OlvmOperatingSystem.Builder
-
- Enclosing class:
- OlvmOperatingSystem
public static class OlvmOperatingSystem.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OlvmOperatingSystem.Builderboot(List<OlvmBootDevice> boot)Configuration of the boot sequence of a virtual machine.OlvmOperatingSystembuild()OlvmOperatingSystem.BuildercmdLine(String cmdLine)Custom kernel parameters for starting the virtual machine if Linux operating system is used.OlvmOperatingSystem.Buildercopy(OlvmOperatingSystem model)OlvmOperatingSystem.BuildercustomKernelCmdLine(String customKernelCmdLine)A custom part of the host kernel command line.OlvmOperatingSystem.BuilderinitRd(String initRd)Path to custom initial ramdisk on ISO storage domain if Linux operating system is used.OlvmOperatingSystem.Builderkernel(String kernel)Path to custom kernel on ISO storage domain if Linux operating system is used.OlvmOperatingSystem.BuilderreportedKernelCmdLine(String reportedKernelCmdLine)The host kernel command line as reported by a running host.OlvmOperatingSystem.Buildertype(String type)Operating system name in human readable formOlvmOperatingSystem.Builderversion(OlvmVersion version)
-
-
-
Method Detail
-
boot
public OlvmOperatingSystem.Builder boot(List<OlvmBootDevice> boot)
Configuration of the boot sequence of a virtual machine.- Parameters:
boot- the value to set- Returns:
- this builder
-
cmdLine
public OlvmOperatingSystem.Builder cmdLine(String cmdLine)
Custom kernel parameters for starting the virtual machine if Linux operating system is used.- Parameters:
cmdLine- the value to set- Returns:
- this builder
-
customKernelCmdLine
public OlvmOperatingSystem.Builder customKernelCmdLine(String customKernelCmdLine)
A custom part of the host kernel command line.- Parameters:
customKernelCmdLine- the value to set- Returns:
- this builder
-
initRd
public OlvmOperatingSystem.Builder initRd(String initRd)
Path to custom initial ramdisk on ISO storage domain if Linux operating system is used.- Parameters:
initRd- the value to set- Returns:
- this builder
-
kernel
public OlvmOperatingSystem.Builder kernel(String kernel)
Path to custom kernel on ISO storage domain if Linux operating system is used.- Parameters:
kernel- the value to set- Returns:
- this builder
-
reportedKernelCmdLine
public OlvmOperatingSystem.Builder reportedKernelCmdLine(String reportedKernelCmdLine)
The host kernel command line as reported by a running host.- Parameters:
reportedKernelCmdLine- the value to set- Returns:
- this builder
-
type
public OlvmOperatingSystem.Builder type(String type)
Operating system name in human readable form- Parameters:
type- the value to set- Returns:
- this builder
-
version
public OlvmOperatingSystem.Builder version(OlvmVersion version)
-
build
public OlvmOperatingSystem build()
-
copy
public OlvmOperatingSystem.Builder copy(OlvmOperatingSystem model)
-
-