Class ClientEncryptionIncludedPath

java.lang.Object
com.azure.resourcemanager.cosmos.models.ClientEncryptionIncludedPath

public final class ClientEncryptionIncludedPath extends Object
.
  • Constructor Details

    • ClientEncryptionIncludedPath

      public ClientEncryptionIncludedPath()
      Creates an instance of ClientEncryptionIncludedPath class.
  • Method Details

    • path

      public String path()
      Get the path property: Path that needs to be encrypted.
      Returns:
      the path value.
    • withPath

      public ClientEncryptionIncludedPath withPath(String path)
      Set the path property: Path that needs to be encrypted.
      Parameters:
      path - the path value to set.
      Returns:
      the ClientEncryptionIncludedPath object itself.
    • clientEncryptionKeyId

      public String clientEncryptionKeyId()
      Get the clientEncryptionKeyId property: The identifier of the Client Encryption Key to be used to encrypt the path.
      Returns:
      the clientEncryptionKeyId value.
    • 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:
      clientEncryptionKeyId - the clientEncryptionKeyId value to set.
      Returns:
      the ClientEncryptionIncludedPath object itself.
    • encryptionType

      public String encryptionType()
      Get the encryptionType property: The type of encryption to be performed. Eg - Deterministic, Randomized.
      Returns:
      the encryptionType value.
    • withEncryptionType

      public ClientEncryptionIncludedPath withEncryptionType(String encryptionType)
      Set the encryptionType property: The type of encryption to be performed. Eg - Deterministic, Randomized.
      Parameters:
      encryptionType - the encryptionType value to set.
      Returns:
      the ClientEncryptionIncludedPath object itself.
    • encryptionAlgorithm

      public String encryptionAlgorithm()
      Get the encryptionAlgorithm property: The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
      Returns:
      the encryptionAlgorithm value.
    • 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:
      encryptionAlgorithm - the encryptionAlgorithm value to set.
      Returns:
      the ClientEncryptionIncludedPath object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.