Class OSDiskImage
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.OSDiskImage
-
public final class OSDiskImage extends Object
Contains the os disk image information.
-
-
Constructor Summary
Constructors Constructor Description OSDiskImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatingSystemTypesoperatingSystem()Get the operatingSystem property: The operating system of the osDiskImage.voidvalidate()Validates the instance.OSDiskImagewithOperatingSystem(OperatingSystemTypes operatingSystem)Set the operatingSystem property: The operating system of the osDiskImage.
-
-
-
Method Detail
-
operatingSystem
public OperatingSystemTypes operatingSystem()
Get the operatingSystem property: The operating system of the osDiskImage.- Returns:
- the operatingSystem value.
-
withOperatingSystem
public OSDiskImage withOperatingSystem(OperatingSystemTypes operatingSystem)
Set the operatingSystem property: The operating system of the osDiskImage.- Parameters:
operatingSystem- the operatingSystem value to set.- Returns:
- the OSDiskImage object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-