Class FtpServerLocation
java.lang.Object
com.azure.resourcemanager.datafactory.models.DatasetLocation
com.azure.resourcemanager.datafactory.models.FtpServerLocation
The location of ftp server dataset.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.withFileName(Object fileName) Set the fileName property: Specify the file name of dataset.withFolderPath(Object folderPath) Set the folderPath property: Specify the folder path of dataset.Methods inherited from class com.azure.resourcemanager.datafactory.models.DatasetLocation
additionalProperties, fileName, folderPath, withAdditionalProperties
-
Constructor Details
-
FtpServerLocation
public FtpServerLocation()Creates an instance of FtpServerLocation class.
-
-
Method Details
-
withFolderPath
Set the folderPath property: Specify the folder path of dataset. Type: string (or Expression with resultType string).- Overrides:
withFolderPathin classDatasetLocation- Parameters:
folderPath- the folderPath value to set.- Returns:
- the DatasetLocation object itself.
-
withFileName
Set the fileName property: Specify the file name of dataset. Type: string (or Expression with resultType string).- Overrides:
withFileNamein classDatasetLocation- Parameters:
fileName- the fileName value to set.- Returns:
- the DatasetLocation object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classDatasetLocation- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-