Class EncryptionConfiguration
java.lang.Object
com.azure.resourcemanager.datafactory.models.EncryptionConfiguration
Definition of CMK for the factory.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of EncryptionConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionidentity()Get the identity property: User assigned identity to use to authenticate to customer's key vault.keyName()Get the keyName property: The name of the key in Azure Key Vault to use as Customer Managed Key.Get the keyVersion property: The version of the key used for CMK.voidvalidate()Validates the instance.Get the vaultBaseUrl property: The url of the Azure Key Vault used for CMK.withIdentity(CmkIdentityDefinition identity) Set the identity property: User assigned identity to use to authenticate to customer's key vault.withKeyName(String keyName) Set the keyName property: The name of the key in Azure Key Vault to use as Customer Managed Key.withKeyVersion(String keyVersion) Set the keyVersion property: The version of the key used for CMK.withVaultBaseUrl(String vaultBaseUrl) Set the vaultBaseUrl property: The url of the Azure Key Vault used for CMK.
-
Constructor Details
-
EncryptionConfiguration
public EncryptionConfiguration()Creates an instance of EncryptionConfiguration class.
-
-
Method Details
-
keyName
Get the keyName property: The name of the key in Azure Key Vault to use as Customer Managed Key.- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: The name of the key in Azure Key Vault to use as Customer Managed Key.- Parameters:
keyName- the keyName value to set.- Returns:
- the EncryptionConfiguration object itself.
-
vaultBaseUrl
Get the vaultBaseUrl property: The url of the Azure Key Vault used for CMK.- Returns:
- the vaultBaseUrl value.
-
withVaultBaseUrl
Set the vaultBaseUrl property: The url of the Azure Key Vault used for CMK.- Parameters:
vaultBaseUrl- the vaultBaseUrl value to set.- Returns:
- the EncryptionConfiguration object itself.
-
keyVersion
Get the keyVersion property: The version of the key used for CMK. If not provided, latest version will be used.- Returns:
- the keyVersion value.
-
withKeyVersion
Set the keyVersion property: The version of the key used for CMK. If not provided, latest version will be used.- Parameters:
keyVersion- the keyVersion value to set.- Returns:
- the EncryptionConfiguration object itself.
-
identity
Get the identity property: User assigned identity to use to authenticate to customer's key vault. If not provided Managed Service Identity will be used.- Returns:
- the identity value.
-
withIdentity
Set the identity property: User assigned identity to use to authenticate to customer's key vault. If not provided Managed Service Identity will be used.- Parameters:
identity- the identity value to set.- Returns:
- the EncryptionConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-