Class RestorePointSourceVmosDisk
java.lang.Object
com.azure.resourcemanager.compute.models.RestorePointSourceVmosDisk
Describes an Operating System disk.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncaching()Get the caching property: Gets the caching type.Get the diskRestorePoint property: Gets the disk restore point Id.Get the diskSizeGB property: Gets the disk size in GB.Get the encryptionSettings property: Gets the disk encryption settings.Get the managedDisk property: Gets the managed disk details.name()Get the name property: Gets the disk name.osType()Get the osType property: Gets the Operating System type.voidvalidate()Validates the instance.withCaching(CachingTypes caching) Set the caching property: Gets the caching type.withDiskRestorePoint(ApiEntityReference diskRestorePoint) Set the diskRestorePoint property: Gets the disk restore point Id.withDiskSizeGB(Integer diskSizeGB) Set the diskSizeGB property: Gets the disk size in GB.withEncryptionSettings(DiskEncryptionSettings encryptionSettings) Set the encryptionSettings property: Gets the disk encryption settings.withManagedDisk(ManagedDiskParameters managedDisk) Set the managedDisk property: Gets the managed disk details.Set the name property: Gets the disk name.withOsType(OperatingSystemType osType) Set the osType property: Gets the Operating System type.
-
Constructor Details
-
RestorePointSourceVmosDisk
public RestorePointSourceVmosDisk()
-
-
Method Details
-
osType
Get the osType property: Gets the Operating System type.- Returns:
- the osType value.
-
withOsType
Set the osType property: Gets the Operating System type.- Parameters:
osType- the osType value to set.- Returns:
- the RestorePointSourceVmosDisk object itself.
-
encryptionSettings
Get the encryptionSettings property: Gets the disk encryption settings.- Returns:
- the encryptionSettings value.
-
withEncryptionSettings
Set the encryptionSettings property: Gets the disk encryption settings.- Parameters:
encryptionSettings- the encryptionSettings value to set.- Returns:
- the RestorePointSourceVmosDisk object itself.
-
name
Get the name property: Gets the disk name.- Returns:
- the name value.
-
withName
Set the name property: Gets the disk name.- Parameters:
name- the name value to set.- Returns:
- the RestorePointSourceVmosDisk object itself.
-
caching
Get the caching property: Gets the caching type.- Returns:
- the caching value.
-
withCaching
Set the caching property: Gets the caching type.- Parameters:
caching- the caching value to set.- Returns:
- the RestorePointSourceVmosDisk object itself.
-
diskSizeGB
Get the diskSizeGB property: Gets the disk size in GB.- Returns:
- the diskSizeGB value.
-
withDiskSizeGB
Set the diskSizeGB property: Gets the disk size in GB.- Parameters:
diskSizeGB- the diskSizeGB value to set.- Returns:
- the RestorePointSourceVmosDisk object itself.
-
managedDisk
Get the managedDisk property: Gets the managed disk details.- Returns:
- the managedDisk value.
-
withManagedDisk
Set the managedDisk property: Gets the managed disk details.- Parameters:
managedDisk- the managedDisk value to set.- Returns:
- the RestorePointSourceVmosDisk object itself.
-
diskRestorePoint
Get the diskRestorePoint property: Gets the disk restore point Id.- Returns:
- the diskRestorePoint value.
-
withDiskRestorePoint
Set the diskRestorePoint property: Gets the disk restore point Id.- Parameters:
diskRestorePoint- the diskRestorePoint value to set.- Returns:
- the RestorePointSourceVmosDisk object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-