Class FixedInputData

java.lang.Object
com.azure.resourcemanager.machinelearning.models.MonitoringInputDataBase
com.azure.resourcemanager.machinelearning.models.FixedInputData
All Implemented Interfaces:
com.azure.json.JsonSerializable<MonitoringInputDataBase>

public final class FixedInputData extends MonitoringInputDataBase
Fixed input data definition.
  • Constructor Details

    • FixedInputData

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

    • inputDataType

      public MonitoringInputDataType inputDataType()
      Get the inputDataType property: [Required] Specifies the type of signal to monitor.
      Overrides:
      inputDataType in class MonitoringInputDataBase
      Returns:
      the inputDataType value.
    • withDataContext

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

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

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

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

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MonitoringInputDataBase
      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>
      Overrides:
      toJson in class MonitoringInputDataBase
      Throws:
      IOException
    • fromJson

      public static FixedInputData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FixedInputData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FixedInputData 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 FixedInputData.