public final class CustomImagePropertiesFromVm extends Object
Constructor and Description |
---|
CustomImagePropertiesFromVm() |
Modifier and Type | Method and Description |
---|---|
LinuxOsInfo |
linuxOsInfo()
Get the linuxOsInfo property: The Linux OS information of the VM.
|
String |
sourceVmId()
Get the sourceVmId property: The source vm identifier.
|
void |
validate()
Validates the instance.
|
WindowsOsInfo |
windowsOsInfo()
Get the windowsOsInfo property: The Windows OS information of the VM.
|
CustomImagePropertiesFromVm |
withLinuxOsInfo(LinuxOsInfo linuxOsInfo)
Set the linuxOsInfo property: The Linux OS information of the VM.
|
CustomImagePropertiesFromVm |
withSourceVmId(String sourceVmId)
Set the sourceVmId property: The source vm identifier.
|
CustomImagePropertiesFromVm |
withWindowsOsInfo(WindowsOsInfo windowsOsInfo)
Set the windowsOsInfo property: The Windows OS information of the VM.
|
public String sourceVmId()
public CustomImagePropertiesFromVm withSourceVmId(String sourceVmId)
sourceVmId
- the sourceVmId value to set.public WindowsOsInfo windowsOsInfo()
public CustomImagePropertiesFromVm withWindowsOsInfo(WindowsOsInfo windowsOsInfo)
windowsOsInfo
- the windowsOsInfo value to set.public LinuxOsInfo linuxOsInfo()
public CustomImagePropertiesFromVm withLinuxOsInfo(LinuxOsInfo linuxOsInfo)
linuxOsInfo
- the linuxOsInfo value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.