Class MonitoringInputDataBase

java.lang.Object
com.azure.resourcemanager.machinelearning.models.MonitoringInputDataBase
All Implemented Interfaces:
com.azure.json.JsonSerializable<MonitoringInputDataBase>
Direct Known Subclasses:
FixedInputData, RollingInputData, StaticInputData

public class MonitoringInputDataBase extends Object implements com.azure.json.JsonSerializable<MonitoringInputDataBase>
Monitoring input data base definition.
  • Constructor Details

    • MonitoringInputDataBase

      public MonitoringInputDataBase()
      Creates an instance of MonitoringInputDataBase class.
  • Method Details

    • inputDataType

      public MonitoringInputDataType inputDataType()
      Get the inputDataType property: [Required] Specifies the type of signal to monitor.
      Returns:
      the inputDataType value.
    • dataContext

      public String dataContext()
      Get the dataContext property: The context metadata of the data source.
      Returns:
      the dataContext value.
    • withDataContext

      public MonitoringInputDataBase withDataContext(String dataContext)
      Set the dataContext property: The context metadata of the data source.
      Parameters:
      dataContext - the dataContext value to set.
      Returns:
      the MonitoringInputDataBase object itself.
    • jobInputType

      public JobInputType jobInputType()
      Get the jobInputType property: [Required] Specifies the type of job.
      Returns:
      the jobInputType value.
    • withJobInputType

      public MonitoringInputDataBase withJobInputType(JobInputType jobInputType)
      Set the jobInputType property: [Required] Specifies the type of job.
      Parameters:
      jobInputType - the jobInputType value to set.
      Returns:
      the MonitoringInputDataBase object itself.
    • uri

      public String uri()
      Get the uri property: [Required] Input Asset URI.
      Returns:
      the uri value.
    • withUri

      public MonitoringInputDataBase withUri(String uri)
      Set the uri property: [Required] Input Asset URI.
      Parameters:
      uri - the uri value to set.
      Returns:
      the MonitoringInputDataBase object itself.
    • columns

      public Map<String,String> columns()
      Get the columns property: Mapping of column names to special uses.
      Returns:
      the columns value.
    • withColumns

      public MonitoringInputDataBase withColumns(Map<String,String> columns)
      Set the columns property: Mapping of column names to special uses.
      Parameters:
      columns - the columns value to set.
      Returns:
      the MonitoringInputDataBase object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<MonitoringInputDataBase>
      Throws:
      IOException
    • fromJson

      public static MonitoringInputDataBase fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MonitoringInputDataBase from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MonitoringInputDataBase if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the MonitoringInputDataBase.