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>
Rolling input data definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RollingInputDatafromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RollingInputData from the JsonReader.Get the inputDataType property: [Required] Specifies the type of signal to monitor.Get the preprocessingComponentId property: Reference to the component asset used to preprocess the data.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the windowOffset property: [Required] The time offset between the end of the data window and the monitor's current run time.Get the windowSize property: [Required] The size of the rolling data window.withColumns(Map<String, String> columns) Set the columns property: Mapping of column names to special uses.withDataContext(String dataContext) Set the dataContext property: The context metadata of the data source.withJobInputType(JobInputType jobInputType) Set the jobInputType property: [Required] Specifies the type of job.withPreprocessingComponentId(String preprocessingComponentId) Set the preprocessingComponentId property: Reference to the component asset used to preprocess the data.Set the uri property: [Required] Input Asset URI.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.withWindowSize(Duration windowSize) Set the windowSize property: [Required] The size of the rolling data window.Methods inherited from class com.azure.resourcemanager.machinelearning.models.MonitoringInputDataBase
columns, dataContext, jobInputType, uriMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RollingInputData
public RollingInputData()Creates an instance of RollingInputData class.
-
-
Method Details
-
inputDataType
Get the inputDataType property: [Required] Specifies the type of signal to monitor.- Overrides:
inputDataTypein classMonitoringInputDataBase- Returns:
- the inputDataType value.
-
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
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
Get the windowSize property: [Required] The size of the rolling data window.- Returns:
- the windowSize value.
-
withWindowSize
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
Get the preprocessingComponentId property: Reference to the component asset used to preprocess the data.- Returns:
- the preprocessingComponentId value.
-
withPreprocessingComponentId
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
Set the dataContext property: The context metadata of the data source.- Overrides:
withDataContextin classMonitoringInputDataBase- Parameters:
dataContext- the dataContext value to set.- Returns:
- the MonitoringInputDataBase object itself.
-
withJobInputType
Set the jobInputType property: [Required] Specifies the type of job.- Overrides:
withJobInputTypein classMonitoringInputDataBase- Parameters:
jobInputType- the jobInputType value to set.- Returns:
- the MonitoringInputDataBase object itself.
-
withUri
Set the uri property: [Required] Input Asset URI.- Overrides:
withUriin classMonitoringInputDataBase- Parameters:
uri- the uri value to set.- Returns:
- the MonitoringInputDataBase object itself.
-
withColumns
Set the columns property: Mapping of column names to special uses.- Overrides:
withColumnsin classMonitoringInputDataBase- Parameters:
columns- the columns value to set.- Returns:
- the MonitoringInputDataBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMonitoringInputDataBase- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<MonitoringInputDataBase>- Overrides:
toJsonin classMonitoringInputDataBase- Throws:
IOException
-
fromJson
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.
-