Class OlvmTemplateProperties
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmTemplateProperties
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmTemplateProperties extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelOLVM Template properties.
Note: Objects should always be created or deserialized using theOlvmTemplateProperties.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 theOlvmTemplateProperties.Builder, which maintain a set of all explicitly set fields calledOlvmTemplateProperties.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 classOlvmTemplateProperties.AutoPinningPolicySpecifies if and how the auto CPU and NUMA configuration is applied.static classOlvmTemplateProperties.Builderstatic classOlvmTemplateProperties.CpuPinningPolicyType representing the CPU and NUMA pinning policy.static classOlvmTemplateProperties.StatusThe status of the template.static classOlvmTemplateProperties.StorageErrorResumeBehaviorDetermines how the virtual machine will be resumed after storage error.
-
Constructor Summary
Constructors Constructor Description OlvmTemplateProperties(OlvmTemplateProperties.AutoPinningPolicy autoPinningPolicy, OlvmBios bios, String comment, OlvmConsole console, OlvmCpu cpu, OlvmTemplateProperties.CpuPinningPolicy cpuPinningPolicy, Integer cpuShares, Date timeCreated, OlvmVersion customCompatibilityVersion, String customCpuModel, String customEmulatedMachine, List<OlvmCustomProperty> customProperties, Boolean isDeleteProtected, String description, OlvmDisplay display, OlvmDomain domain, OlvmHighAvailability highAvailability, OlvmInitialization initialization, Integer ioThreads, OlvmIcon largeIcon, OlvmStorageDomainProperties storageDomainLease, Long memoryInBytes, OlvmMemoryPolicy memoryPolicy, OlvmMigrationOptions migrationPolicy, Integer migrationDowntimeInMs, Boolean isMultiQueuesEnabled, String templateName, String origin, OlvmOperatingSystem os, OlvmVmPlacementPolicy placementPolicy, OlvmSerialNumber serialNumber, OlvmIcon smallIcon, Boolean isSoundcardEnabled, Boolean isStartPaused, Boolean isStateless, OlvmTemplateProperties.Status status, OlvmTemplateProperties.StorageErrorResumeBehavior storageErrorResumeBehavior, String timezone, Boolean isTpmEnabled, Boolean isTunnelMigration, OlvmVmType type, OlvmUsb usb, OlvmTemplateVersion version, Boolean isVirtioScsiEnabled, Integer virtioScsiMultiQueues, Boolean isVirtioScsiMultiQueuesEnabled, OlvmVirtualMachine vm)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmTemplateProperties.Builderbuilder()Create a new builder.booleanequals(Object o)OlvmTemplateProperties.AutoPinningPolicygetAutoPinningPolicy()Specifies if and how the auto CPU and NUMA configuration is applied.OlvmBiosgetBios()StringgetComment()Free text containing comments about this object.OlvmConsolegetConsole()OlvmCpugetCpu()OlvmTemplateProperties.CpuPinningPolicygetCpuPinningPolicy()Type representing the CPU and NUMA pinning policy.IntegergetCpuShares()Number of CPU SharesOlvmVersiongetCustomCompatibilityVersion()StringgetCustomCpuModel()Custom CPU modelStringgetCustomEmulatedMachine()Custom Emulated machineList<OlvmCustomProperty>getCustomProperties()Custom properties applied to the vNIC profile.StringgetDescription()A human-readable description in plain text.OlvmDisplaygetDisplay()OlvmDomaingetDomain()OlvmHighAvailabilitygetHighAvailability()OlvmInitializationgetInitialization()IntegergetIoThreads()For performance tuning of IO threading.BooleangetIsDeleteProtected()If true, the virtual machine cannot be deleted.BooleangetIsMultiQueuesEnabled()If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus.BooleangetIsSoundcardEnabled()If true, the sound card is added to the virtual machine.BooleangetIsStartPaused()If true, the virtual machine will be initially in ‘paused’ state after start.BooleangetIsStateless()If true, the virtual machine is stateless - it???s state (disks) are rolled-back after shutdown.BooleangetIsTpmEnabled()If true, a TPM device is added to the virtual machine.BooleangetIsTunnelMigration()If true, the network data transfer will be encrypted during virtual machine live migration.BooleangetIsVirtioScsiEnabled()Indicates if Virtio SCSI Support is enabled.BooleangetIsVirtioScsiMultiQueuesEnabled()If true, the Virtio-SCSI devices will obtain a number of multiple queues depending on the available virtual Cpus and disks, or according to the specified virtioScsiMultiQueuesOlvmIcongetLargeIcon()LonggetMemoryInBytes()The virtual machine???s memory, in bytes.OlvmMemoryPolicygetMemoryPolicy()IntegergetMigrationDowntimeInMs()Maximum time the virtual machine can be non responsive during its live migration to another host in ms.OlvmMigrationOptionsgetMigrationPolicy()StringgetOrigin()The origin of this virtual machine.OlvmOperatingSystemgetOs()OlvmVmPlacementPolicygetPlacementPolicy()OlvmSerialNumbergetSerialNumber()OlvmIcongetSmallIcon()OlvmTemplateProperties.StatusgetStatus()The status of the template.OlvmStorageDomainPropertiesgetStorageDomainLease()OlvmTemplateProperties.StorageErrorResumeBehaviorgetStorageErrorResumeBehavior()Determines how the virtual machine will be resumed after storage error.StringgetTemplateName()Name of the property.DategetTimeCreated()Creation time.StringgetTimezone()Name of time zone.OlvmVmTypegetType()OlvmUsbgetUsb()OlvmTemplateVersiongetVersion()IntegergetVirtioScsiMultiQueues()Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more infoOlvmVirtualMachinegetVm()inthashCode()OlvmTemplateProperties.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmTemplateProperties
@Deprecated @ConstructorProperties({"autoPinningPolicy","bios","comment","console","cpu","cpuPinningPolicy","cpuShares","timeCreated","customCompatibilityVersion","customCpuModel","customEmulatedMachine","customProperties","isDeleteProtected","description","display","domain","highAvailability","initialization","ioThreads","largeIcon","storageDomainLease","memoryInBytes","memoryPolicy","migrationPolicy","migrationDowntimeInMs","isMultiQueuesEnabled","templateName","origin","os","placementPolicy","serialNumber","smallIcon","isSoundcardEnabled","isStartPaused","isStateless","status","storageErrorResumeBehavior","timezone","isTpmEnabled","isTunnelMigration","type","usb","version","isVirtioScsiEnabled","virtioScsiMultiQueues","isVirtioScsiMultiQueuesEnabled","vm"}) public OlvmTemplateProperties(OlvmTemplateProperties.AutoPinningPolicy autoPinningPolicy, OlvmBios bios, String comment, OlvmConsole console, OlvmCpu cpu, OlvmTemplateProperties.CpuPinningPolicy cpuPinningPolicy, Integer cpuShares, Date timeCreated, OlvmVersion customCompatibilityVersion, String customCpuModel, String customEmulatedMachine, List<OlvmCustomProperty> customProperties, Boolean isDeleteProtected, String description, OlvmDisplay display, OlvmDomain domain, OlvmHighAvailability highAvailability, OlvmInitialization initialization, Integer ioThreads, OlvmIcon largeIcon, OlvmStorageDomainProperties storageDomainLease, Long memoryInBytes, OlvmMemoryPolicy memoryPolicy, OlvmMigrationOptions migrationPolicy, Integer migrationDowntimeInMs, Boolean isMultiQueuesEnabled, String templateName, String origin, OlvmOperatingSystem os, OlvmVmPlacementPolicy placementPolicy, OlvmSerialNumber serialNumber, OlvmIcon smallIcon, Boolean isSoundcardEnabled, Boolean isStartPaused, Boolean isStateless, OlvmTemplateProperties.Status status, OlvmTemplateProperties.StorageErrorResumeBehavior storageErrorResumeBehavior, String timezone, Boolean isTpmEnabled, Boolean isTunnelMigration, OlvmVmType type, OlvmUsb usb, OlvmTemplateVersion version, Boolean isVirtioScsiEnabled, Integer virtioScsiMultiQueues, Boolean isVirtioScsiMultiQueuesEnabled, OlvmVirtualMachine vm)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmTemplateProperties.Builder builder()
Create a new builder.
-
toBuilder
public OlvmTemplateProperties.Builder toBuilder()
-
getAutoPinningPolicy
public OlvmTemplateProperties.AutoPinningPolicy getAutoPinningPolicy()
Specifies if and how the auto CPU and NUMA configuration is applied.- Returns:
- the value
-
getBios
public OlvmBios getBios()
-
getComment
public String getComment()
Free text containing comments about this object.- Returns:
- the value
-
getConsole
public OlvmConsole getConsole()
-
getCpu
public OlvmCpu getCpu()
-
getCpuPinningPolicy
public OlvmTemplateProperties.CpuPinningPolicy getCpuPinningPolicy()
Type representing the CPU and NUMA pinning policy.- Returns:
- the value
-
getCpuShares
public Integer getCpuShares()
Number of CPU Shares- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Creation time.- Returns:
- the value
-
getCustomCompatibilityVersion
public OlvmVersion getCustomCompatibilityVersion()
-
getCustomCpuModel
public String getCustomCpuModel()
Custom CPU model- Returns:
- the value
-
getCustomEmulatedMachine
public String getCustomEmulatedMachine()
Custom Emulated machine- Returns:
- the value
-
getCustomProperties
public List<OlvmCustomProperty> getCustomProperties()
Custom properties applied to the vNIC profile.- Returns:
- the value
-
getIsDeleteProtected
public Boolean getIsDeleteProtected()
If true, the virtual machine cannot be deleted.- Returns:
- the value
-
getDescription
public String getDescription()
A human-readable description in plain text.- Returns:
- the value
-
getDisplay
public OlvmDisplay getDisplay()
-
getDomain
public OlvmDomain getDomain()
-
getHighAvailability
public OlvmHighAvailability getHighAvailability()
-
getInitialization
public OlvmInitialization getInitialization()
-
getIoThreads
public Integer getIoThreads()
For performance tuning of IO threading.- Returns:
- the value
-
getLargeIcon
public OlvmIcon getLargeIcon()
-
getStorageDomainLease
public OlvmStorageDomainProperties getStorageDomainLease()
-
getMemoryInBytes
public Long getMemoryInBytes()
The virtual machine???s memory, in bytes.- Returns:
- the value
-
getMemoryPolicy
public OlvmMemoryPolicy getMemoryPolicy()
-
getMigrationPolicy
public OlvmMigrationOptions getMigrationPolicy()
-
getMigrationDowntimeInMs
public Integer getMigrationDowntimeInMs()
Maximum time the virtual machine can be non responsive during its live migration to another host in ms.- Returns:
- the value
-
getIsMultiQueuesEnabled
public Boolean getIsMultiQueuesEnabled()
If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus.- Returns:
- the value
-
getTemplateName
public String getTemplateName()
Name of the property.- Returns:
- the value
-
getOrigin
public String getOrigin()
The origin of this virtual machine.- Returns:
- the value
-
getOs
public OlvmOperatingSystem getOs()
-
getPlacementPolicy
public OlvmVmPlacementPolicy getPlacementPolicy()
-
getSerialNumber
public OlvmSerialNumber getSerialNumber()
-
getSmallIcon
public OlvmIcon getSmallIcon()
-
getIsSoundcardEnabled
public Boolean getIsSoundcardEnabled()
If true, the sound card is added to the virtual machine.- Returns:
- the value
-
getIsStartPaused
public Boolean getIsStartPaused()
If true, the virtual machine will be initially in ‘paused’ state after start.- Returns:
- the value
-
getIsStateless
public Boolean getIsStateless()
If true, the virtual machine is stateless - it???s state (disks) are rolled-back after shutdown.- Returns:
- the value
-
getStatus
public OlvmTemplateProperties.Status getStatus()
The status of the template.- Returns:
- the value
-
getStorageErrorResumeBehavior
public OlvmTemplateProperties.StorageErrorResumeBehavior getStorageErrorResumeBehavior()
Determines how the virtual machine will be resumed after storage error.- Returns:
- the value
-
getTimezone
public String getTimezone()
Name of time zone.- Returns:
- the value
-
getIsTpmEnabled
public Boolean getIsTpmEnabled()
If true, a TPM device is added to the virtual machine.- Returns:
- the value
-
getIsTunnelMigration
public Boolean getIsTunnelMigration()
If true, the network data transfer will be encrypted during virtual machine live migration.- Returns:
- the value
-
getType
public OlvmVmType getType()
-
getUsb
public OlvmUsb getUsb()
-
getVersion
public OlvmTemplateVersion getVersion()
-
getIsVirtioScsiEnabled
public Boolean getIsVirtioScsiEnabled()
Indicates if Virtio SCSI Support is enabled.- Returns:
- the value
-
getVirtioScsiMultiQueues
public Integer getVirtioScsiMultiQueues()
Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more info- Returns:
- the value
-
getIsVirtioScsiMultiQueuesEnabled
public Boolean getIsVirtioScsiMultiQueuesEnabled()
If true, the Virtio-SCSI devices will obtain a number of multiple queues depending on the available virtual Cpus and disks, or according to the specified virtioScsiMultiQueues- Returns:
- the value
-
getVm
public OlvmVirtualMachine getVm()
-
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
-
-