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 Details

    • AzureFileStorageLinkedServiceTypeProperties

      public AzureFileStorageLinkedServiceTypeProperties()
  • Method Details

    • 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

      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

      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

      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

      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

      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

      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.