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 Summary
ConstructorsConstructorDescriptionCreates an instance of MonitoringInputDataBase class. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Get the columns property: Mapping of column names to special uses.Get the dataContext property: The context metadata of the data source.static MonitoringInputDataBasefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MonitoringInputDataBase from the JsonReader.Get the inputDataType property: [Required] Specifies the type of signal to monitor.Get the jobInputType property: [Required] Specifies the type of job.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) uri()Get the uri property: [Required] Input Asset URI.voidvalidate()Validates the instance.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.Set the uri property: [Required] Input Asset URI.Methods 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
-
MonitoringInputDataBase
public MonitoringInputDataBase()Creates an instance of MonitoringInputDataBase class.
-
-
Method Details
-
inputDataType
Get the inputDataType property: [Required] Specifies the type of signal to monitor.- Returns:
- the inputDataType value.
-
dataContext
Get the dataContext property: The context metadata of the data source.- Returns:
- the dataContext value.
-
withDataContext
Set the dataContext property: The context metadata of the data source.- Parameters:
dataContext- the dataContext value to set.- Returns:
- the MonitoringInputDataBase object itself.
-
jobInputType
Get the jobInputType property: [Required] Specifies the type of job.- Returns:
- the jobInputType value.
-
withJobInputType
Set the jobInputType property: [Required] Specifies the type of job.- Parameters:
jobInputType- the jobInputType value to set.- Returns:
- the MonitoringInputDataBase object itself.
-
uri
Get the uri property: [Required] Input Asset URI.- Returns:
- the uri value.
-
withUri
Set the uri property: [Required] Input Asset URI.- Parameters:
uri- the uri value to set.- Returns:
- the MonitoringInputDataBase object itself.
-
columns
Get the columns property: Mapping of column names to special uses.- Returns:
- the columns value.
-
withColumns
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
- Specified by:
toJsonin interfacecom.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.
-