public final class DiskInstanceView extends Object
Constructor and Description |
---|
DiskInstanceView() |
Modifier and Type | Method and Description |
---|---|
List<DiskEncryptionSettings> |
encryptionSettings()
Get the encryptionSettings property: Specifies the encryption settings for the OS Disk.
|
String |
name()
Get the name property: The disk name.
|
List<InstanceViewStatus> |
statuses()
Get the statuses property: The resource status information.
|
void |
validate()
Validates the instance.
|
DiskInstanceView |
withEncryptionSettings(List<DiskEncryptionSettings> encryptionSettings)
Set the encryptionSettings property: Specifies the encryption settings for the OS Disk.
|
DiskInstanceView |
withName(String name)
Set the name property: The disk name.
|
DiskInstanceView |
withStatuses(List<InstanceViewStatus> statuses)
Set the statuses property: The resource status information.
|
public String name()
public DiskInstanceView withName(String name)
name
- the name value to set.public List<DiskEncryptionSettings> encryptionSettings()
public DiskInstanceView withEncryptionSettings(List<DiskEncryptionSettings> encryptionSettings)
encryptionSettings
- the encryptionSettings value to set.public List<InstanceViewStatus> statuses()
public DiskInstanceView withStatuses(List<InstanceViewStatus> statuses)
statuses
- the statuses value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.