FileReferenceInputDataSource Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. ReferenceInputDataSource - com.
azure. resourcemanager. streamanalytics. models. FileReferenceInputDataSource
- com.
- com.
public final class FileReferenceInputDataSource
extends ReferenceInputDataSource
Describes a file input data source that contains reference data.
Constructor Summary
| Constructor | Description |
|---|---|
| FileReferenceInputDataSource() |
Creates an instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
| String |
path()
Get the path property: The path of the file. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Indicates the type of input data source containing reference data. |
| void |
validate()
Validates the instance. |
|
File |
withPath(String path)
Set the path property: The path of the file. |
Methods inherited from ReferenceInputDataSource
Methods inherited from java.lang.Object
Constructor Details
FileReferenceInputDataSource
public FileReferenceInputDataSource()
Creates an instance of FileReferenceInputDataSource class.
Method Details
fromJson
public static FileReferenceInputDataSource fromJson(JsonReader jsonReader)
Reads an instance of FileReferenceInputDataSource from the JsonReader.
Parameters:
Returns:
Throws:
path
public String path()
Get the path property: The path of the file.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FileReferenceInputDataSource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.
Overrides:
FileReferenceInputDataSource.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
FileReferenceInputDataSource.validate()withPath
public FileReferenceInputDataSource withPath(String path)
Set the path property: The path of the file.
Parameters:
Returns: