DataSource Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. DataSource
- com.
Implements
public final class DataSource
implements JsonSerializable<DataSource>
Class representing data source used by the detectors.
Constructor Summary
Constructor | Description |
---|---|
DataSource() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Name |
dataSourceUri()
Get the data |
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
List<String> |
instructions()
Get the instructions property: Instructions if any for the data source. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Data |
withDataSourceUri(List<NameValuePair> dataSourceUri)
Set the data |
Data |
withInstructions(List<String> instructions)
Set the instructions property: Instructions if any for the data source. |
Methods inherited from java.lang.Object
Constructor Details
DataSource
public DataSource()
Creates an instance of DataSource class.
Method Details
dataSourceUri
public List
Get the dataSourceUri property: Datasource Uri Links.
Returns:
fromJson
public static DataSource fromJson(JsonReader jsonReader)
Reads an instance of DataSource from the JsonReader.
Parameters:
Returns:
Throws:
instructions
public List
Get the instructions property: Instructions if any for the data source.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDataSourceUri
public DataSource withDataSourceUri(List
Set the dataSourceUri property: Datasource Uri Links.
Parameters:
Returns:
withInstructions
public DataSource withInstructions(List
Set the instructions property: Instructions if any for the data source.
Parameters:
Returns:
Applies to
Azure SDK for Java