Class HdfsLocation
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.DatasetLocation
-
- com.azure.resourcemanager.datafactory.models.HdfsLocation
-
public final class HdfsLocation extends DatasetLocation
The location of HDFS.
-
-
Constructor Summary
Constructors Constructor Description HdfsLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.HdfsLocation
withFileName(Object fileName)
Set the fileName property: Specify the file name of dataset.HdfsLocation
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
-
-
-
-
Method Detail
-
withFolderPath
public HdfsLocation withFolderPath(Object folderPath)
Set the folderPath property: Specify the folder path of dataset. Type: string (or Expression with resultType string).- Overrides:
withFolderPath
in classDatasetLocation
- Parameters:
folderPath
- the folderPath value to set.- Returns:
- the DatasetLocation object itself.
-
withFileName
public HdfsLocation withFileName(Object fileName)
Set the fileName property: Specify the file name of dataset. Type: string (or Expression with resultType string).- Overrides:
withFileName
in classDatasetLocation
- Parameters:
fileName
- the fileName value to set.- Returns:
- the DatasetLocation object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDatasetLocation
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-