StreamInputDataSource Class

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

Implements

public class StreamInputDataSource
implements JsonSerializable<StreamInputDataSource>

Describes an input data source that contains stream data.

Constructor Summary

Constructor Description
StreamInputDataSource()

Creates an instance of StreamInputDataSource class.

Method Summary

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

Reads an instance of StreamInputDataSource from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

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

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

StreamInputDataSource

public StreamInputDataSource()

Creates an instance of StreamInputDataSource class.

Method Details

fromJson

public static StreamInputDataSource fromJson(JsonReader jsonReader)

Reads an instance of StreamInputDataSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 stream data. Required on PUT (CreateOrReplace) requests.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to