Class AzureFileStorageLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.AzureFileStorageLinkedServiceTypeProperties
-
public final class AzureFileStorageLinkedServiceTypeProperties extends Object
Azure File Storage linked service properties.
-
-
Constructor Summary
Constructors Constructor Description AzureFileStorageLinkedServiceTypeProperties()
-
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.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.ObjectfileShare()Get the fileShare property: The azure file share name.Objecthost()Get the host property: Host name of the server.SecretBasepassword()Get the password property: Password to logon the server.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 File resource.Objectsnapshot()Get the snapshot property: The azure file share snapshot version.ObjectuserId()Get the userId property: User ID to logon the server.voidvalidate()Validates the instance.AzureFileStorageLinkedServiceTypePropertieswithAccountKey(AzureKeyVaultSecretReference accountKey)Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.AzureFileStorageLinkedServiceTypePropertieswithConnectionString(Object connectionString)Set the connectionString property: The connection string.AzureFileStorageLinkedServiceTypePropertieswithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.AzureFileStorageLinkedServiceTypePropertieswithFileShare(Object fileShare)Set the fileShare property: The azure file share name.AzureFileStorageLinkedServiceTypePropertieswithHost(Object host)Set the host property: Host name of the server.AzureFileStorageLinkedServiceTypePropertieswithPassword(SecretBase password)Set the password property: Password to logon the server.AzureFileStorageLinkedServiceTypePropertieswithSasToken(AzureKeyVaultSecretReference sasToken)Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.AzureFileStorageLinkedServiceTypePropertieswithSasUri(Object sasUri)Set the sasUri property: SAS URI of the Azure File resource.AzureFileStorageLinkedServiceTypePropertieswithSnapshot(Object snapshot)Set the snapshot property: The azure file share snapshot version.AzureFileStorageLinkedServiceTypePropertieswithUserId(Object userId)Set the userId property: User ID to logon the server.
-
-
-
Method Detail
-
host
public Object host()
Get the host property: Host name of the server. Type: string (or Expression with resultType string).- Returns:
- the host value.
-
withHost
public AzureFileStorageLinkedServiceTypeProperties withHost(Object host)
Set the host property: Host name of the server. Type: string (or Expression with resultType string).- Parameters:
host- the host value to set.- Returns:
- the AzureFileStorageLinkedServiceTypeProperties object itself.
-
userId
public Object userId()
Get the userId property: User ID to logon the server. Type: string (or Expression with resultType string).- Returns:
- the userId value.
-
withUserId
public AzureFileStorageLinkedServiceTypeProperties withUserId(Object userId)
Set the userId property: User ID to logon the server. Type: string (or Expression with resultType string).- Parameters:
userId- the userId value to set.- Returns:
- the AzureFileStorageLinkedServiceTypeProperties object itself.
-
password
public SecretBase password()
Get the password property: Password to logon the server.- Returns:
- the password value.
-
withPassword
public AzureFileStorageLinkedServiceTypeProperties withPassword(SecretBase password)
Set the password property: Password to logon the server.- Parameters:
password- the password value to set.- Returns:
- the AzureFileStorageLinkedServiceTypeProperties object itself.
-
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 AzureFileStorageLinkedServiceTypeProperties 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 AzureFileStorageLinkedServiceTypeProperties 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 AzureFileStorageLinkedServiceTypeProperties 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 AzureFileStorageLinkedServiceTypeProperties object itself.
-
sasUri
public Object sasUri()
Get the sasUri property: SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the sasUri value.
-
withSasUri
public AzureFileStorageLinkedServiceTypeProperties withSasUri(Object sasUri)
Set the sasUri property: SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
sasUri- the sasUri value to set.- Returns:
- the AzureFileStorageLinkedServiceTypeProperties 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 AzureFileStorageLinkedServiceTypeProperties 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 AzureFileStorageLinkedServiceTypeProperties object itself.
-
fileShare
public Object fileShare()
Get the fileShare property: The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string).- Returns:
- the fileShare value.
-
withFileShare
public AzureFileStorageLinkedServiceTypeProperties withFileShare(Object fileShare)
Set the fileShare property: The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string).- Parameters:
fileShare- the fileShare value to set.- Returns:
- the AzureFileStorageLinkedServiceTypeProperties object itself.
-
snapshot
public Object snapshot()
Get the snapshot property: The azure file share snapshot version. Type: string (or Expression with resultType string).- Returns:
- the snapshot value.
-
withSnapshot
public AzureFileStorageLinkedServiceTypeProperties withSnapshot(Object snapshot)
Set the snapshot property: The azure file share snapshot version. Type: string (or Expression with resultType string).- Parameters:
snapshot- the snapshot value to set.- Returns:
- the AzureFileStorageLinkedServiceTypeProperties object itself.
-
encryptedCredential
public Object 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 AzureFileStorageLinkedServiceTypeProperties withEncryptedCredential(Object 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 AzureFileStorageLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-