Class AzureKeyVaultSecretReference
java.lang.Object
com.azure.resourcemanager.datafactory.models.SecretBase
com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference
Azure Key Vault secret reference.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureKeyVaultSecretReference class. -
Method Summary
Modifier and TypeMethodDescriptionGet the secretName property: The name of the secret in Azure Key Vault.Get the secretVersion property: The version of the secret in Azure Key Vault.store()
Get the store property: The Azure Key Vault linked service reference.void
validate()
Validates the instance.withSecretName
(Object secretName) Set the secretName property: The name of the secret in Azure Key Vault.withSecretVersion
(Object secretVersion) Set the secretVersion property: The version of the secret in Azure Key Vault.withStore
(LinkedServiceReference store) Set the store property: The Azure Key Vault linked service reference.
-
Constructor Details
-
AzureKeyVaultSecretReference
public AzureKeyVaultSecretReference()Creates an instance of AzureKeyVaultSecretReference class.
-
-
Method Details
-
store
Get the store property: The Azure Key Vault linked service reference.- Returns:
- the store value.
-
withStore
Set the store property: The Azure Key Vault linked service reference.- Parameters:
store
- the store value to set.- Returns:
- the AzureKeyVaultSecretReference object itself.
-
secretName
Get the secretName property: The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).- Returns:
- the secretName value.
-
withSecretName
Set the secretName property: The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).- Parameters:
secretName
- the secretName value to set.- Returns:
- the AzureKeyVaultSecretReference object itself.
-
secretVersion
Get the secretVersion property: The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).- Returns:
- the secretVersion value.
-
withSecretVersion
Set the secretVersion property: The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).- Parameters:
secretVersion
- the secretVersion value to set.- Returns:
- the AzureKeyVaultSecretReference object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classSecretBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-