ClientEncryptionPolicy Class
- java.
lang. Object - com.
azure. cosmos. models. ClientEncryptionPolicy
- com.
public final class ClientEncryptionPolicy
Client encryption policy.
Constructor Summary
| Constructor | Description |
|---|---|
| ClientEncryptionPolicy() |
Constructor. |
| ClientEncryptionPolicy(List<ClientEncryptionIncludedPath> paths) |
Constructor. |
| ClientEncryptionPolicy(List<ClientEncryptionIncludedPath> paths, int policyFormatVersion) |
Constructor. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Client |
getIncludedPaths()
Gets the list of paths of the item that need encryption along with path-specific settings. |
| int |
getPolicyFormatVersion()
Version of the client encryption policy definition. |
Methods inherited from java.lang.Object
Constructor Details
ClientEncryptionPolicy
public ClientEncryptionPolicy()
Constructor.
ClientEncryptionPolicy
public ClientEncryptionPolicy(List<ClientEncryptionIncludedPath> paths)
Constructor.
Parameters:
ClientEncryptionPolicy
public ClientEncryptionPolicy(List<ClientEncryptionIncludedPath> paths, int policyFormatVersion)
Constructor.
Parameters:
Method Details
getIncludedPaths
public List<ClientEncryptionIncludedPath> getIncludedPaths()
Gets the list of paths of the item that need encryption along with path-specific settings.
Returns:
getPolicyFormatVersion
public int getPolicyFormatVersion()
Version of the client encryption policy definition.
Returns: