public class EncryptionService extends Object
| Constructor and Description |
|---|
EncryptionService() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get a boolean indicating whether or not the service encrypts the data as it is stored.
|
KeyType |
keyType()
Get encryption key type to be used for the encryption service.
|
org.joda.time.DateTime |
lastEnabledTime()
Get gets a rough estimate of the date/time when the encryption was last enabled by the user.
|
EncryptionService |
withEnabled(Boolean enabled)
Set a boolean indicating whether or not the service encrypts the data as it is stored.
|
EncryptionService |
withKeyType(KeyType keyType)
Set encryption key type to be used for the encryption service.
|
public Boolean enabled()
public EncryptionService withEnabled(Boolean enabled)
enabled - the enabled value to setpublic org.joda.time.DateTime lastEnabledTime()
public KeyType keyType()
public EncryptionService withKeyType(KeyType keyType)
keyType - the keyType 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.
*/