OutputDataSource Class

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

Implements

public class OutputDataSource
implements JsonSerializable<OutputDataSource>

Describes the data source that output will be written to.

Constructor Summary

Constructor Description
OutputDataSource()

Creates an instance of OutputDataSource class.

Method Summary

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

Reads an instance of OutputDataSource from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Indicates the type of data source output will be written to.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

OutputDataSource

public OutputDataSource()

Creates an instance of OutputDataSource class.

Method Details

fromJson

public static OutputDataSource fromJson(JsonReader jsonReader)

Reads an instance of OutputDataSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to