ClientEncryptionIncludedPath Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. ClientEncryptionIncludedPath
- com.
Implements
public final class ClientEncryptionIncludedPath
implements JsonSerializable<ClientEncryptionIncludedPath>
.
Constructor Summary
Constructor | Description |
---|---|
ClientEncryptionIncludedPath() |
Creates an instance of Client |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientEncryptionKeyId()
Get the client |
String |
encryptionAlgorithm()
Get the encryption |
String |
encryptionType()
Get the encryption |
static
Client |
fromJson(JsonReader jsonReader)
Reads an instance of Client |
String |
path()
Get the path property: Path that needs to be encrypted. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Client |
withClientEncryptionKeyId(String clientEncryptionKeyId)
Set the client |
Client |
withEncryptionAlgorithm(String encryptionAlgorithm)
Set the encryption |
Client |
withEncryptionType(String encryptionType)
Set the encryption |
Client |
withPath(String path)
Set the path property: Path that needs to be encrypted. |
Methods inherited from java.lang.Object
Constructor Details
ClientEncryptionIncludedPath
public ClientEncryptionIncludedPath()
Creates an instance of ClientEncryptionIncludedPath class.
Method Details
clientEncryptionKeyId
public String clientEncryptionKeyId()
Get the clientEncryptionKeyId property: The identifier of the Client Encryption Key to be used to encrypt the path.
Returns:
encryptionAlgorithm
public String encryptionAlgorithm()
Get the encryptionAlgorithm property: The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
Returns:
encryptionType
public String encryptionType()
Get the encryptionType property: The type of encryption to be performed. Eg - Deterministic, Randomized.
Returns:
fromJson
public static ClientEncryptionIncludedPath fromJson(JsonReader jsonReader)
Reads an instance of ClientEncryptionIncludedPath from the JsonReader.
Parameters:
Returns:
Throws:
path
public String path()
Get the path property: Path that needs to be encrypted.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClientEncryptionKeyId
public ClientEncryptionIncludedPath withClientEncryptionKeyId(String clientEncryptionKeyId)
Set the clientEncryptionKeyId property: The identifier of the Client Encryption Key to be used to encrypt the path.
Parameters:
Returns:
withEncryptionAlgorithm
public ClientEncryptionIncludedPath withEncryptionAlgorithm(String encryptionAlgorithm)
Set the encryptionAlgorithm property: The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
Parameters:
Returns:
withEncryptionType
public ClientEncryptionIncludedPath withEncryptionType(String encryptionType)
Set the encryptionType property: The type of encryption to be performed. Eg - Deterministic, Randomized.
Parameters:
Returns:
withPath
public ClientEncryptionIncludedPath withPath(String path)
Set the path property: Path that needs to be encrypted.
Parameters:
Returns:
Applies to
Azure SDK for Java