Class AzureKeyVaultSecretReference
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.SecretBase
-
- com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference
-
public final class AzureKeyVaultSecretReference extends SecretBase
Azure Key Vault secret reference.
-
-
Constructor Summary
Constructors Constructor Description AzureKeyVaultSecretReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
secretName()
Get the secretName property: The name of the secret in Azure Key Vault.Object
secretVersion()
Get the secretVersion property: The version of the secret in Azure Key Vault.LinkedServiceReference
store()
Get the store property: The Azure Key Vault linked service reference.void
validate()
Validates the instance.AzureKeyVaultSecretReference
withSecretName(Object secretName)
Set the secretName property: The name of the secret in Azure Key Vault.AzureKeyVaultSecretReference
withSecretVersion(Object secretVersion)
Set the secretVersion property: The version of the secret in Azure Key Vault.AzureKeyVaultSecretReference
withStore(LinkedServiceReference store)
Set the store property: The Azure Key Vault linked service reference.
-
-
-
Method Detail
-
store
public LinkedServiceReference store()
Get the store property: The Azure Key Vault linked service reference.- Returns:
- the store value.
-
withStore
public AzureKeyVaultSecretReference withStore(LinkedServiceReference store)
Set the store property: The Azure Key Vault linked service reference.- Parameters:
store
- the store value to set.- Returns:
- the AzureKeyVaultSecretReference object itself.
-
secretName
public Object 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
public AzureKeyVaultSecretReference withSecretName(Object secretName)
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
public Object 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
public AzureKeyVaultSecretReference withSecretVersion(Object secretVersion)
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.
-
-