Class DiskInstanceView


  • public final class DiskInstanceView
    extends Object
    The instance view of the disk.
    • Constructor Detail

      • DiskInstanceView

        public DiskInstanceView()
    • Method Detail

      • name

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

        public DiskInstanceView withName​(String name)
        Set the name property: The disk name.
        Parameters:
        name - the name value to set.
        Returns:
        the DiskInstanceView object itself.
      • encryptionSettings

        public List<DiskEncryptionSettings> encryptionSettings()
        Get the encryptionSettings property: Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15.
        Returns:
        the encryptionSettings value.
      • withEncryptionSettings

        public DiskInstanceView withEncryptionSettings​(List<DiskEncryptionSettings> encryptionSettings)
        Set the encryptionSettings property: Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15.
        Parameters:
        encryptionSettings - the encryptionSettings value to set.
        Returns:
        the DiskInstanceView object itself.
      • statuses

        public List<InstanceViewStatus> statuses()
        Get the statuses property: The resource status information.
        Returns:
        the statuses value.
      • withStatuses

        public DiskInstanceView withStatuses​(List<InstanceViewStatus> statuses)
        Set the statuses property: The resource status information.
        Parameters:
        statuses - the statuses value to set.
        Returns:
        the DiskInstanceView object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.