ClientEncryptionIncludedPath Class
- java.
lang. Object - com.
azure. cosmos. models. ClientEncryptionIncludedPath
- com.
public final class ClientEncryptionIncludedPath
Path that needs encryption and the associated settings within ClientEncryptionPolicy.
Constructor Summary
Constructor | Description | |
---|---|---|
ClientEncryptionIncludedPath() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getClientEncryptionKeyId()
Gets the identifier of the Data Encryption Key to be used to encrypt the path. |
String |
getEncryptionAlgorithm()
Gets the type of encryption algorithm to be performed. |
String |
getEncryptionType()
Gets the type of encryption to be performed. |
String |
getPath()
Gets the path to be encrypted. |
Client |
setClientEncryptionKeyId(String clientEncryptionKeyId)
Sets the identifier of the Data Encryption Key to be used to encrypt the path. |
Client |
setEncryptionAlgorithm(String encryptionAlgorithm)
Sets the type of encryption algorithm to be performed. |
Client |
setEncryptionType(String encryptionType)
Sets the type of encryption to be performed. |
Client |
setPath(String path)
Sets the path to be encrypted. |
Methods inherited from java.lang.Object
Constructor Details
ClientEncryptionIncludedPath
public ClientEncryptionIncludedPath()
Method Details
getClientEncryptionKeyId
public String getClientEncryptionKeyId()
Gets the identifier of the Data Encryption Key to be used to encrypt the path.
Returns:
getEncryptionAlgorithm
public String getEncryptionAlgorithm()
Gets the type of encryption algorithm to be performed. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
Returns:
getEncryptionType
public String getEncryptionType()
Gets the type of encryption to be performed. Egs.: Deterministic Randomized.
Returns:
getPath
public String getPath()
Gets the path to be encrypted. Must be a top level path, eg. /salary.
Returns:
setClientEncryptionKeyId
public ClientEncryptionIncludedPath setClientEncryptionKeyId(String clientEncryptionKeyId)
Sets the identifier of the Data Encryption Key to be used to encrypt the path.
Parameters:
Returns:
setEncryptionAlgorithm
public ClientEncryptionIncludedPath setEncryptionAlgorithm(String encryptionAlgorithm)
Sets the type of encryption algorithm to be performed. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
Parameters:
Returns:
setEncryptionType
public ClientEncryptionIncludedPath setEncryptionType(String encryptionType)
Sets the type of encryption to be performed. Egs.: Deterministic Randomized.
Parameters:
Returns:
setPath
public ClientEncryptionIncludedPath setPath(String path)
Sets the path to be encrypted. Must be a top level path, eg. /salary.
Parameters:
Returns:
Applies to
Azure SDK for Java