public final class EncryptionSettingsCollection extends Object
Constructor and Description |
---|
EncryptionSettingsCollection() |
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
Get the enabled property: Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to
enable encryption.
|
List<EncryptionSettingsElement> |
encryptionSettings()
Get the encryptionSettings property: A collection of encryption settings, one for each disk volume.
|
String |
encryptionSettingsVersion()
Get the encryptionSettingsVersion property: Describes what type of encryption is used for the disks.
|
void |
validate()
Validates the instance.
|
EncryptionSettingsCollection |
withEnabled(boolean enabled)
Set the enabled property: Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to
enable encryption.
|
EncryptionSettingsCollection |
withEncryptionSettings(List<EncryptionSettingsElement> encryptionSettings)
Set the encryptionSettings property: A collection of encryption settings, one for each disk volume.
|
EncryptionSettingsCollection |
withEncryptionSettingsVersion(String encryptionSettingsVersion)
Set the encryptionSettingsVersion property: Describes what type of encryption is used for the disks.
|
public boolean enabled()
public EncryptionSettingsCollection withEnabled(boolean enabled)
enabled
- the enabled value to set.public List<EncryptionSettingsElement> encryptionSettings()
public EncryptionSettingsCollection withEncryptionSettings(List<EncryptionSettingsElement> encryptionSettings)
encryptionSettings
- the encryptionSettings value to set.public String encryptionSettingsVersion()
public EncryptionSettingsCollection withEncryptionSettingsVersion(String encryptionSettingsVersion)
encryptionSettingsVersion
- the encryptionSettingsVersion value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.