Class AzureStorageLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.AzureStorageLinkedServiceTypeProperties
-
public final class AzureStorageLinkedServiceTypeProperties extends Object
Azure Storage linked service properties.
-
-
Constructor Summary
Constructors Constructor Description AzureStorageLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureKeyVaultSecretReference
accountKey()
Get the accountKey property: The Azure key vault secret reference of accountKey in connection string.Object
connectionString()
Get the connectionString property: The connection string.String
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.AzureKeyVaultSecretReference
sasToken()
Get the sasToken property: The Azure key vault secret reference of sasToken in sas uri.Object
sasUri()
Get the sasUri property: SAS URI of the Azure Storage resource.void
validate()
Validates the instance.AzureStorageLinkedServiceTypeProperties
withAccountKey(AzureKeyVaultSecretReference accountKey)
Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.AzureStorageLinkedServiceTypeProperties
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.AzureStorageLinkedServiceTypeProperties
withEncryptedCredential(String encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.AzureStorageLinkedServiceTypeProperties
withSasToken(AzureKeyVaultSecretReference sasToken)
Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.AzureStorageLinkedServiceTypeProperties
withSasUri(Object sasUri)
Set the sasUri property: SAS URI of the Azure Storage resource.
-
-
-
Method Detail
-
connectionString
public Object connectionString()
Get the connectionString property: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
withConnectionString
public AzureStorageLinkedServiceTypeProperties withConnectionString(Object connectionString)
Set the connectionString property: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the AzureStorageLinkedServiceTypeProperties object itself.
-
accountKey
public AzureKeyVaultSecretReference accountKey()
Get the accountKey property: The Azure key vault secret reference of accountKey in connection string.- Returns:
- the accountKey value.
-
withAccountKey
public AzureStorageLinkedServiceTypeProperties withAccountKey(AzureKeyVaultSecretReference accountKey)
Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.- Parameters:
accountKey
- the accountKey value to set.- Returns:
- the AzureStorageLinkedServiceTypeProperties object itself.
-
sasUri
public Object sasUri()
Get the sasUri property: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the sasUri value.
-
withSasUri
public AzureStorageLinkedServiceTypeProperties withSasUri(Object sasUri)
Set the sasUri property: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
sasUri
- the sasUri value to set.- Returns:
- the AzureStorageLinkedServiceTypeProperties object itself.
-
sasToken
public AzureKeyVaultSecretReference sasToken()
Get the sasToken property: The Azure key vault secret reference of sasToken in sas uri.- Returns:
- the sasToken value.
-
withSasToken
public AzureStorageLinkedServiceTypeProperties withSasToken(AzureKeyVaultSecretReference sasToken)
Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.- Parameters:
sasToken
- the sasToken value to set.- Returns:
- the AzureStorageLinkedServiceTypeProperties object itself.
-
encryptedCredential
public String encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Returns:
- the encryptedCredential value.
-
withEncryptedCredential
public AzureStorageLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Parameters:
encryptedCredential
- the encryptedCredential value to set.- Returns:
- the AzureStorageLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-