Class DataSource
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.DataSource
-
public final class DataSource extends Object
Class representing data source used by the detectors.
-
-
Constructor Summary
Constructors Constructor Description DataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NameValuePair>dataSourceUri()Get the dataSourceUri property: Datasource Uri Links.List<String>instructions()Get the instructions property: Instructions if any for the data source.voidvalidate()Validates the instance.DataSourcewithDataSourceUri(List<NameValuePair> dataSourceUri)Set the dataSourceUri property: Datasource Uri Links.DataSourcewithInstructions(List<String> instructions)Set the instructions property: Instructions if any for the data source.
-
-
-
Method Detail
-
instructions
public List<String> instructions()
Get the instructions property: Instructions if any for the data source.- Returns:
- the instructions value.
-
withInstructions
public DataSource withInstructions(List<String> instructions)
Set the instructions property: Instructions if any for the data source.- Parameters:
instructions- the instructions value to set.- Returns:
- the DataSource object itself.
-
dataSourceUri
public List<NameValuePair> dataSourceUri()
Get the dataSourceUri property: Datasource Uri Links.- Returns:
- the dataSourceUri value.
-
withDataSourceUri
public DataSource withDataSourceUri(List<NameValuePair> dataSourceUri)
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.
-
-