Class MonitoringSignalBase
java.lang.Object
com.azure.resourcemanager.machinelearning.models.MonitoringSignalBase
- All Implemented Interfaces:
com.azure.json.JsonSerializable<MonitoringSignalBase>
- Direct Known Subclasses:
CustomMonitoringSignal,DataDriftMonitoringSignal,DataQualityMonitoringSignal,FeatureAttributionDriftMonitoringSignal,PredictionDriftMonitoringSignal
public class MonitoringSignalBase
extends Object
implements com.azure.json.JsonSerializable<MonitoringSignalBase>
The MonitoringSignalBase model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MonitoringSignalBasefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MonitoringSignalBase from the JsonReader.Get the notificationTypes property: The current notification mode for this signal.Get the properties property: Property dictionary.Get the signalType property: [Required] Specifies the type of signal to monitor.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withNotificationTypes(List<MonitoringNotificationType> notificationTypes) Set the notificationTypes property: The current notification mode for this signal.withProperties(Map<String, String> properties) Set the properties property: Property dictionary.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
-
MonitoringSignalBase
public MonitoringSignalBase()Creates an instance of MonitoringSignalBase class.
-
-
Method Details
-
signalType
Get the signalType property: [Required] Specifies the type of signal to monitor.- Returns:
- the signalType value.
-
notificationTypes
Get the notificationTypes property: The current notification mode for this signal.- Returns:
- the notificationTypes value.
-
withNotificationTypes
public MonitoringSignalBase withNotificationTypes(List<MonitoringNotificationType> notificationTypes) Set the notificationTypes property: The current notification mode for this signal.- Parameters:
notificationTypes- the notificationTypes value to set.- Returns:
- the MonitoringSignalBase object itself.
-
properties
Get the properties property: Property dictionary. Properties can be added, but not removed or altered.- Returns:
- the properties value.
-
withProperties
Set the properties property: Property dictionary. Properties can be added, but not removed or altered.- Parameters:
properties- the properties value to set.- Returns:
- the MonitoringSignalBase 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<MonitoringSignalBase>- Throws:
IOException
-
fromJson
public static MonitoringSignalBase fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of MonitoringSignalBase from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of MonitoringSignalBase if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the MonitoringSignalBase.
-