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 Details

    • MonitoringSignalBase

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

    • signalType

      public MonitoringSignalType signalType()
      Get the signalType property: [Required] Specifies the type of signal to monitor.
      Returns:
      the signalType value.
    • notificationTypes

      public List<MonitoringNotificationType> 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

      public Map<String,String> properties()
      Get the properties property: Property dictionary. Properties can be added, but not removed or altered.
      Returns:
      the properties value.
    • withProperties

      public MonitoringSignalBase withProperties(Map<String,String> properties)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.