Class RestorePointSourceVmosDisk


  • public final class RestorePointSourceVmosDisk
    extends Object
    Describes an Operating System disk.
    • Constructor Detail

      • RestorePointSourceVmosDisk

        public RestorePointSourceVmosDisk()
    • Method Detail

      • osType

        public OperatingSystemType osType()
        Get the osType property: Gets the Operating System type.
        Returns:
        the osType value.
      • withOsType

        public RestorePointSourceVmosDisk withOsType​(OperatingSystemType osType)
        Set the osType property: Gets the Operating System type.
        Parameters:
        osType - the osType value to set.
        Returns:
        the RestorePointSourceVmosDisk object itself.
      • encryptionSettings

        public DiskEncryptionSettings encryptionSettings()
        Get the encryptionSettings property: Gets the disk encryption settings.
        Returns:
        the encryptionSettings value.
      • withEncryptionSettings

        public RestorePointSourceVmosDisk withEncryptionSettings​(DiskEncryptionSettings encryptionSettings)
        Set the encryptionSettings property: Gets the disk encryption settings.
        Parameters:
        encryptionSettings - the encryptionSettings value to set.
        Returns:
        the RestorePointSourceVmosDisk object itself.
      • name

        public String name()
        Get the name property: Gets the disk name.
        Returns:
        the name value.
      • withName

        public RestorePointSourceVmosDisk withName​(String name)
        Set the name property: Gets the disk name.
        Parameters:
        name - the name value to set.
        Returns:
        the RestorePointSourceVmosDisk object itself.
      • caching

        public CachingTypes caching()
        Get the caching property: Gets the caching type.
        Returns:
        the caching value.
      • withCaching

        public RestorePointSourceVmosDisk withCaching​(CachingTypes caching)
        Set the caching property: Gets the caching type.
        Parameters:
        caching - the caching value to set.
        Returns:
        the RestorePointSourceVmosDisk object itself.
      • diskSizeGB

        public Integer diskSizeGB()
        Get the diskSizeGB property: Gets the disk size in GB.
        Returns:
        the diskSizeGB value.
      • withDiskSizeGB

        public RestorePointSourceVmosDisk withDiskSizeGB​(Integer diskSizeGB)
        Set the diskSizeGB property: Gets the disk size in GB.
        Parameters:
        diskSizeGB - the diskSizeGB value to set.
        Returns:
        the RestorePointSourceVmosDisk object itself.
      • managedDisk

        public ManagedDiskParameters managedDisk()
        Get the managedDisk property: Gets the managed disk details.
        Returns:
        the managedDisk value.
      • withManagedDisk

        public RestorePointSourceVmosDisk withManagedDisk​(ManagedDiskParameters managedDisk)
        Set the managedDisk property: Gets the managed disk details.
        Parameters:
        managedDisk - the managedDisk value to set.
        Returns:
        the RestorePointSourceVmosDisk object itself.
      • diskRestorePoint

        public ApiEntityReference diskRestorePoint()
        Get the diskRestorePoint property: Gets the disk restore point Id.
        Returns:
        the diskRestorePoint value.
      • withDiskRestorePoint

        public RestorePointSourceVmosDisk withDiskRestorePoint​(ApiEntityReference diskRestorePoint)
        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.