Class OlvmOperatingSystem
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmOperatingSystem
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmOperatingSystem extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelInformation describing the operating system.This is used for both virtual machines and hosts.
Note: Objects should always be created or deserialized using theOlvmOperatingSystem.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theOlvmOperatingSystem.Builder, which maintain a set of all explicitly set fields calledOlvmOperatingSystem.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOlvmOperatingSystem.Builder
-
Constructor Summary
Constructors Constructor Description OlvmOperatingSystem(List<OlvmBootDevice> boot, String cmdLine, String customKernelCmdLine, String initRd, String kernel, String reportedKernelCmdLine, String type, OlvmVersion version)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmOperatingSystem.Builderbuilder()Create a new builder.booleanequals(Object o)List<OlvmBootDevice>getBoot()Configuration of the boot sequence of a virtual machine.StringgetCmdLine()Custom kernel parameters for starting the virtual machine if Linux operating system is used.StringgetCustomKernelCmdLine()A custom part of the host kernel command line.StringgetInitRd()Path to custom initial ramdisk on ISO storage domain if Linux operating system is used.StringgetKernel()Path to custom kernel on ISO storage domain if Linux operating system is used.StringgetReportedKernelCmdLine()The host kernel command line as reported by a running host.StringgetType()Operating system name in human readable formOlvmVersiongetVersion()inthashCode()OlvmOperatingSystem.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmOperatingSystem
@Deprecated @ConstructorProperties({"boot","cmdLine","customKernelCmdLine","initRd","kernel","reportedKernelCmdLine","type","version"}) public OlvmOperatingSystem(List<OlvmBootDevice> boot, String cmdLine, String customKernelCmdLine, String initRd, String kernel, String reportedKernelCmdLine, String type, OlvmVersion version)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmOperatingSystem.Builder builder()
Create a new builder.
-
toBuilder
public OlvmOperatingSystem.Builder toBuilder()
-
getBoot
public List<OlvmBootDevice> getBoot()
Configuration of the boot sequence of a virtual machine.- Returns:
- the value
-
getCmdLine
public String getCmdLine()
Custom kernel parameters for starting the virtual machine if Linux operating system is used.- Returns:
- the value
-
getCustomKernelCmdLine
public String getCustomKernelCmdLine()
A custom part of the host kernel command line.- Returns:
- the value
-
getInitRd
public String getInitRd()
Path to custom initial ramdisk on ISO storage domain if Linux operating system is used.- Returns:
- the value
-
getKernel
public String getKernel()
Path to custom kernel on ISO storage domain if Linux operating system is used.- Returns:
- the value
-
getReportedKernelCmdLine
public String getReportedKernelCmdLine()
The host kernel command line as reported by a running host.- Returns:
- the value
-
getType
public String getType()
Operating system name in human readable form- Returns:
- the value
-
getVersion
public OlvmVersion getVersion()
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-