SftpLocation Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. DatasetLocation - com.
azure. resourcemanager. datafactory. models. SftpLocation
- com.
- com.
public final class SftpLocation
extends DatasetLocation
The location of SFTP dataset.
Constructor Summary
| Constructor | Description |
|---|---|
| SftpLocation() |
Creates an instance of Sftp |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sftp |
fromJson(JsonReader jsonReader)
Reads an instance of Sftp |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of dataset storage location. |
| void |
validate()
Validates the instance. |
|
Sftp |
withFileName(Object fileName)
Set the file |
|
Sftp |
withFolderPath(Object folderPath)
Set the folder |
Methods inherited from DatasetLocation
Methods inherited from java.lang.Object
Constructor Details
SftpLocation
public SftpLocation()
Creates an instance of SftpLocation class.
Method Details
fromJson
public static SftpLocation fromJson(JsonReader jsonReader)
Reads an instance of SftpLocation from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SftpLocation.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of dataset storage location.
Overrides:
SftpLocation.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SftpLocation.validate()withFileName
public SftpLocation withFileName(Object fileName)
Set the fileName property: Specify the file name of dataset. Type: string (or Expression with resultType string).
Overrides:
SftpLocation.withFileName(Object fileName)Parameters:
withFolderPath
public SftpLocation withFolderPath(Object folderPath)
Set the folderPath property: Specify the folder path of dataset. Type: string (or Expression with resultType string).
Overrides:
SftpLocation.withFolderPath(Object folderPath)Parameters: