Class RollingInputData

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

public final class RollingInputData extends MonitoringInputDataBase
Rolling input data definition.
  • Constructor Details

    • RollingInputData

      public RollingInputData()
      Creates an instance of RollingInputData 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.
    • windowOffset

      public Duration windowOffset()
      Get the windowOffset property: [Required] The time offset between the end of the data window and the monitor's current run time.
      Returns:
      the windowOffset value.
    • withWindowOffset

      public RollingInputData withWindowOffset(Duration windowOffset)
      Set the windowOffset property: [Required] The time offset between the end of the data window and the monitor's current run time.
      Parameters:
      windowOffset - the windowOffset value to set.
      Returns:
      the RollingInputData object itself.
    • windowSize

      public Duration windowSize()
      Get the windowSize property: [Required] The size of the rolling data window.
      Returns:
      the windowSize value.
    • withWindowSize

      public RollingInputData withWindowSize(Duration windowSize)
      Set the windowSize property: [Required] The size of the rolling data window.
      Parameters:
      windowSize - the windowSize value to set.
      Returns:
      the RollingInputData object itself.
    • preprocessingComponentId

      public String preprocessingComponentId()
      Get the preprocessingComponentId property: Reference to the component asset used to preprocess the data.
      Returns:
      the preprocessingComponentId value.
    • withPreprocessingComponentId

      public RollingInputData withPreprocessingComponentId(String preprocessingComponentId)
      Set the preprocessingComponentId property: Reference to the component asset used to preprocess the data.
      Parameters:
      preprocessingComponentId - the preprocessingComponentId value to set.
      Returns:
      the RollingInputData object itself.
    • withDataContext

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