public final class Encryption extends Object
| Constructor and Description |
|---|
Encryption() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionIdentity |
encryptionIdentity()
Get the encryptionIdentity property: The identity to be used with service-side encryption at rest.
|
KeySource |
keySource()
Get the keySource property: The encryption keySource (provider).
|
KeyVaultProperties |
keyVaultProperties()
Get the keyVaultProperties property: Properties provided by key vault.
|
Boolean |
requireInfrastructureEncryption()
Get the requireInfrastructureEncryption property: A boolean indicating whether or not the service applies a
secondary layer of encryption with platform managed keys for data at rest.
|
EncryptionServices |
services()
Get the services property: List of services which support encryption.
|
void |
validate()
Validates the instance.
|
Encryption |
withEncryptionIdentity(EncryptionIdentity encryptionIdentity)
Set the encryptionIdentity property: The identity to be used with service-side encryption at rest.
|
Encryption |
withKeySource(KeySource keySource)
Set the keySource property: The encryption keySource (provider).
|
Encryption |
withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: Properties provided by key vault.
|
Encryption |
withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)
Set the requireInfrastructureEncryption property: A boolean indicating whether or not the service applies a
secondary layer of encryption with platform managed keys for data at rest.
|
Encryption |
withServices(EncryptionServices services)
Set the services property: List of services which support encryption.
|
public EncryptionServices services()
public Encryption withServices(EncryptionServices services)
services - the services value to set.public KeySource keySource()
public Encryption withKeySource(KeySource keySource)
keySource - the keySource value to set.public Boolean requireInfrastructureEncryption()
public Encryption withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)
requireInfrastructureEncryption - the requireInfrastructureEncryption value to set.public KeyVaultProperties keyVaultProperties()
public Encryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
keyVaultProperties - the keyVaultProperties value to set.public EncryptionIdentity encryptionIdentity()
public Encryption withEncryptionIdentity(EncryptionIdentity encryptionIdentity)
encryptionIdentity - the encryptionIdentity value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.