Class DataSource
java.lang.Object
com.azure.resourcemanager.appservice.models.DataSource
Class representing data source used by the detectors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dataSourceUri property: Datasource Uri Links.Get the instructions property: Instructions if any for the data source.void
validate()
Validates the instance.withDataSourceUri
(List<NameValuePair> dataSourceUri) Set the dataSourceUri property: Datasource Uri Links.withInstructions
(List<String> instructions) Set the instructions property: Instructions if any for the data source.
-
Constructor Details
-
DataSource
public DataSource()
-
-
Method Details
-
instructions
Get the instructions property: Instructions if any for the data source.- Returns:
- the instructions value.
-
withInstructions
Set the instructions property: Instructions if any for the data source.- Parameters:
instructions
- the instructions value to set.- Returns:
- the DataSource object itself.
-
dataSourceUri
Get the dataSourceUri property: Datasource Uri Links.- Returns:
- the dataSourceUri value.
-
withDataSourceUri
Set the dataSourceUri property: Datasource Uri Links.- Parameters:
dataSourceUri
- the dataSourceUri value to set.- Returns:
- the DataSource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-