Class ClientEncryptionPolicy

java.lang.Object
com.azure.cosmos.models.ClientEncryptionPolicy

public final class ClientEncryptionPolicy extends Object
Client encryption policy.
  • Constructor Details

    • ClientEncryptionPolicy

      public ClientEncryptionPolicy(List<ClientEncryptionIncludedPath> paths)
      Constructor.
      Parameters:
      paths - list of path of the item that need encryption along with path-specific settings.
    • ClientEncryptionPolicy

      public ClientEncryptionPolicy()
      Constructor.
  • Method Details

    • getIncludedPaths

      public List<ClientEncryptionIncludedPath> getIncludedPaths()
      Gets the list of path of the item that need encryption along with path-specific settings.
      Returns:
      includedPaths
    • getPolicyFormatVersion

      public int getPolicyFormatVersion()
      Version of the client encryption policy definition.
      Returns:
      policyFormatVersion