Class SqlAlwaysEncryptedProperties


  • public final class SqlAlwaysEncryptedProperties
    extends Object
    Sql always encrypted properties.
    • Constructor Detail

      • SqlAlwaysEncryptedProperties

        public SqlAlwaysEncryptedProperties()
    • Method Detail

      • alwaysEncryptedAkvAuthType

        public SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType()
        Get the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string (or Expression with resultType string).
        Returns:
        the alwaysEncryptedAkvAuthType value.
      • withAlwaysEncryptedAkvAuthType

        public SqlAlwaysEncryptedProperties withAlwaysEncryptedAkvAuthType​(SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType)
        Set the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string (or Expression with resultType string).
        Parameters:
        alwaysEncryptedAkvAuthType - the alwaysEncryptedAkvAuthType value to set.
        Returns:
        the SqlAlwaysEncryptedProperties object itself.
      • servicePrincipalId

        public Object servicePrincipalId()
        Get the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string).
        Returns:
        the servicePrincipalId value.
      • withServicePrincipalId

        public SqlAlwaysEncryptedProperties withServicePrincipalId​(Object servicePrincipalId)
        Set the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string).
        Parameters:
        servicePrincipalId - the servicePrincipalId value to set.
        Returns:
        the SqlAlwaysEncryptedProperties object itself.
      • servicePrincipalKey

        public SecretBase servicePrincipalKey()
        Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key Vault.
        Returns:
        the servicePrincipalKey value.
      • withServicePrincipalKey

        public SqlAlwaysEncryptedProperties withServicePrincipalKey​(SecretBase servicePrincipalKey)
        Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure Key Vault.
        Parameters:
        servicePrincipalKey - the servicePrincipalKey value to set.
        Returns:
        the SqlAlwaysEncryptedProperties object itself.
      • credential

        public CredentialReference credential()
        Get the credential property: The credential reference containing authentication information.
        Returns:
        the credential value.
      • withCredential

        public SqlAlwaysEncryptedProperties withCredential​(CredentialReference credential)
        Set the credential property: The credential reference containing authentication information.
        Parameters:
        credential - the credential value to set.
        Returns:
        the SqlAlwaysEncryptedProperties object itself.
      • validate

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