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

public final class DataSource extends Object
Class representing data source used by the detectors.
  • Constructor Details

    • DataSource

      public DataSource()
  • Method Details

    • 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.