Class FileServerLocation

java.lang.Object
com.azure.resourcemanager.datafactory.models.DatasetLocation
com.azure.resourcemanager.datafactory.models.FileServerLocation

public final class FileServerLocation extends DatasetLocation
The location of file server dataset.
  • Constructor Details

    • FileServerLocation

      public FileServerLocation()
      Creates an instance of FileServerLocation class.
  • Method Details

    • withFolderPath

      public FileServerLocation withFolderPath(Object folderPath)
      Set the folderPath property: Specify the folder path of dataset. Type: string (or Expression with resultType string).
      Overrides:
      withFolderPath in class DatasetLocation
      Parameters:
      folderPath - the folderPath value to set.
      Returns:
      the DatasetLocation object itself.
    • withFileName

      public FileServerLocation withFileName(Object fileName)
      Set the fileName property: Specify the file name of dataset. Type: string (or Expression with resultType string).
      Overrides:
      withFileName in class DatasetLocation
      Parameters:
      fileName - the fileName value to set.
      Returns:
      the DatasetLocation object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class DatasetLocation
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.