public class EncryptionSettings extends Object
| Constructor and Description |
|---|
EncryptionSettings() |
| Modifier and Type | Method and Description |
|---|---|
KeyVaultAndSecretReference |
diskEncryptionKey()
Get key Vault Secret Url and vault id of the disk encryption key.
|
Boolean |
enabled()
Get set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption.
|
KeyVaultAndKeyReference |
keyEncryptionKey()
Get key Vault Key Url and vault id of the key encryption key.
|
EncryptionSettings |
withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey)
Set key Vault Secret Url and vault id of the disk encryption key.
|
EncryptionSettings |
withEnabled(Boolean enabled)
Set set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption.
|
EncryptionSettings |
withKeyEncryptionKey(KeyVaultAndKeyReference keyEncryptionKey)
Set key Vault Key Url and vault id of the key encryption key.
|
public Boolean enabled()
public EncryptionSettings withEnabled(Boolean enabled)
enabled - the enabled value to setpublic KeyVaultAndSecretReference diskEncryptionKey()
public EncryptionSettings withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey)
diskEncryptionKey - the diskEncryptionKey value to setpublic KeyVaultAndKeyReference keyEncryptionKey()
public EncryptionSettings withKeyEncryptionKey(KeyVaultAndKeyReference keyEncryptionKey)
keyEncryptionKey - the keyEncryptionKey value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/