Condividi tramite


DataSource Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.DataSource

Implements

public final class DataSource
implements JsonSerializable<DataSource>

Class representing data source used by the detectors.

Method Summary

Modifier and Type Method and Description
List<NameValuePair> dataSourceUri()

Get the dataSourceUri property: Datasource Uri Links.

static DataSource fromJson(JsonReader jsonReader)

Reads an instance of DataSource from the JsonReader.

List<String> instructions()

Get the instructions property: Instructions if any for the data source.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

dataSourceUri

public List<NameValuePair> dataSourceUri()

Get the dataSourceUri property: Datasource Uri Links.

Returns:

the dataSourceUri value.

fromJson

public static DataSource fromJson(JsonReader jsonReader)

Reads an instance of DataSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instructions

public List<String> instructions()

Get the instructions property: Instructions if any for the data source.

Returns:

the instructions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to