Class Encryption
java.lang.Object
com.azure.resourcemanager.databricks.models.Encryption
The object that contains details of encryption used on the workspace.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkeyName()
Get the keyName property: The name of KeyVault key.Get the keySource property: The encryption keySource (provider).Get the keyVaultUri property: The Uri of KeyVault.Get the keyVersion property: The version of KeyVault key.void
validate()
Validates the instance.withKeyName
(String keyName) Set the keyName property: The name of KeyVault key.withKeySource
(KeySource keySource) Set the keySource property: The encryption keySource (provider).withKeyVaultUri
(String keyVaultUri) Set the keyVaultUri property: The Uri of KeyVault.withKeyVersion
(String keyVersion) Set the keyVersion property: The version of KeyVault key.
-
Constructor Details
-
Encryption
public Encryption()Creates an instance of Encryption class.
-
-
Method Details
-
keySource
Get the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault.- Returns:
- the keySource value.
-
withKeySource
Set the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault.- Parameters:
keySource
- the keySource value to set.- Returns:
- the Encryption object itself.
-
keyName
Get the keyName property: The name of KeyVault key.- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: The name of KeyVault key.- Parameters:
keyName
- the keyName value to set.- Returns:
- the Encryption object itself.
-
keyVersion
Get the keyVersion property: The version of KeyVault key.- Returns:
- the keyVersion value.
-
withKeyVersion
Set the keyVersion property: The version of KeyVault key.- Parameters:
keyVersion
- the keyVersion value to set.- Returns:
- the Encryption object itself.
-
keyVaultUri
Get the keyVaultUri property: The Uri of KeyVault.- Returns:
- the keyVaultUri value.
-
withKeyVaultUri
Set the keyVaultUri property: The Uri of KeyVault.- Parameters:
keyVaultUri
- the keyVaultUri value to set.- Returns:
- the Encryption object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-