public final class EncryptionSettingsElement extends Object
Constructor and Description |
---|
EncryptionSettingsElement() |
Modifier and Type | Method and Description |
---|---|
KeyVaultAndSecretReference |
diskEncryptionKey()
Get the diskEncryptionKey property: Key Vault Secret Url and vault id of the disk encryption key.
|
KeyVaultAndKeyReference |
keyEncryptionKey()
Get the keyEncryptionKey property: Key Vault Key Url and vault id of the key encryption key.
|
void |
validate()
Validates the instance.
|
EncryptionSettingsElement |
withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey)
Set the diskEncryptionKey property: Key Vault Secret Url and vault id of the disk encryption key.
|
EncryptionSettingsElement |
withKeyEncryptionKey(KeyVaultAndKeyReference keyEncryptionKey)
Set the keyEncryptionKey property: Key Vault Key Url and vault id of the key encryption key.
|
public KeyVaultAndSecretReference diskEncryptionKey()
public EncryptionSettingsElement withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey)
diskEncryptionKey
- the diskEncryptionKey value to set.public KeyVaultAndKeyReference keyEncryptionKey()
public EncryptionSettingsElement withKeyEncryptionKey(KeyVaultAndKeyReference keyEncryptionKey)
keyEncryptionKey
- the keyEncryptionKey value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.