ReferenceInputDataSource Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.models.ReferenceInputDataSource

Implements

public class ReferenceInputDataSource
implements JsonSerializable<ReferenceInputDataSource>

Describes an input data source that contains reference data.

Constructor Summary

Constructor Description
ReferenceInputDataSource()

Creates an instance of ReferenceInputDataSource class.

Method Summary

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

Reads an instance of ReferenceInputDataSource from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Indicates the type of input data source containing reference data.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ReferenceInputDataSource

public ReferenceInputDataSource()

Creates an instance of ReferenceInputDataSource class.

Method Details

fromJson

public static ReferenceInputDataSource fromJson(JsonReader jsonReader)

Reads an instance of ReferenceInputDataSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ReferenceInputDataSource 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 ReferenceInputDataSource.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to