Class DiskInstanceView
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.DiskInstanceView
-
public final class DiskInstanceView extends Object
The instance view of the disk.
-
-
Constructor Summary
Constructors Constructor Description DiskInstanceView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DiskEncryptionSettings>encryptionSettings()Get the encryptionSettings property: Specifies the encryption settings for the OS Disk.Stringname()Get the name property: The disk name.List<InstanceViewStatus>statuses()Get the statuses property: The resource status information.voidvalidate()Validates the instance.DiskInstanceViewwithEncryptionSettings(List<DiskEncryptionSettings> encryptionSettings)Set the encryptionSettings property: Specifies the encryption settings for the OS Disk.DiskInstanceViewwithName(String name)Set the name property: The disk name.DiskInstanceViewwithStatuses(List<InstanceViewStatus> statuses)Set the statuses property: The resource status information.
-
-
-
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.
-
-