FileReferenceInputDataSourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.fluent.models.FileReferenceInputDataSourceProperties

Implements

public final class FileReferenceInputDataSourceProperties
implements JsonSerializable<FileReferenceInputDataSourceProperties>

The properties that are associated with a file input containing reference data.

Constructor Summary

Constructor Description
FileReferenceInputDataSourceProperties()

Creates an instance of FileReferenceInputDataSourceProperties class.

Method Summary

Modifier and Type Method and Description
static FileReferenceInputDataSourceProperties fromJson(JsonReader jsonReader)

Reads an instance of FileReferenceInputDataSourceProperties from the JsonReader.

String path()

Get the path property: The path of the file.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FileReferenceInputDataSourceProperties withPath(String path)

Set the path property: The path of the file.

Methods inherited from java.lang.Object

Constructor Details

FileReferenceInputDataSourceProperties

public FileReferenceInputDataSourceProperties()

Creates an instance of FileReferenceInputDataSourceProperties class.

Method Details

fromJson

public static FileReferenceInputDataSourceProperties fromJson(JsonReader jsonReader)

Reads an instance of FileReferenceInputDataSourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FileReferenceInputDataSourceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the FileReferenceInputDataSourceProperties.

path

public String path()

Get the path property: The path of the file.

Returns:

the path value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPath

public FileReferenceInputDataSourceProperties withPath(String path)

Set the path property: The path of the file.

Parameters:

path - the path value to set.

Returns:

the FileReferenceInputDataSourceProperties object itself.

Applies to