public final class EncryptionService extends Object
| Constructor and Description |
|---|
EncryptionService() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: A boolean indicating whether or not the service encrypts the data as it is stored.
|
KeyType |
keyType()
Get the keyType property: Encryption key type to be used for the encryption service.
|
OffsetDateTime |
lastEnabledTime()
Get the lastEnabledTime property: Gets a rough estimate of the date/time when the encryption was last enabled by
the user.
|
void |
validate()
Validates the instance.
|
EncryptionService |
withEnabled(Boolean enabled)
Set the enabled property: A boolean indicating whether or not the service encrypts the data as it is stored.
|
EncryptionService |
withKeyType(KeyType keyType)
Set the keyType property: Encryption key type to be used for the encryption service.
|
public Boolean enabled()
public EncryptionService withEnabled(Boolean enabled)
enabled - the enabled value to set.public OffsetDateTime lastEnabledTime()
public KeyType keyType()
public EncryptionService withKeyType(KeyType keyType)
keyType - the keyType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.