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 AzureKeyVaultSecretReferenceaccountKey()Get the accountKey property: The Azure key vault secret reference of accountKey in connection string.ObjectconnectionString()Get the connectionString property: The connection string.StringencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.AzureKeyVaultSecretReferencesasToken()Get the sasToken property: The Azure key vault secret reference of sasToken in sas uri.ObjectsasUri()Get the sasUri property: SAS URI of the Azure Storage resource.voidvalidate()Validates the instance.AzureStorageLinkedServiceTypePropertieswithAccountKey(AzureKeyVaultSecretReference accountKey)Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.AzureStorageLinkedServiceTypePropertieswithConnectionString(Object connectionString)Set the connectionString property: The connection string.AzureStorageLinkedServiceTypePropertieswithEncryptedCredential(String encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.AzureStorageLinkedServiceTypePropertieswithSasToken(AzureKeyVaultSecretReference sasToken)Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.AzureStorageLinkedServiceTypePropertieswithSasUri(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.
-
-