CreateMonitorAction Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ScheduleActionBase - com.
azure. resourcemanager. machinelearning. models. CreateMonitorAction
- com.
- com.
public final class CreateMonitorAction
extends ScheduleActionBase
The CreateMonitorAction model.
Constructor Summary
| Constructor | Description |
|---|---|
| CreateMonitorAction() |
Creates an instance of Create |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Schedule |
actionType()
Get the action |
|
static
Create |
fromJson(JsonReader jsonReader)
Reads an instance of Create |
|
Monitor |
monitorDefinition()
Get the monitor |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Create |
withMonitorDefinition(MonitorDefinition monitorDefinition)
Set the monitor |
Methods inherited from ScheduleActionBase
Methods inherited from java.lang.Object
Constructor Details
CreateMonitorAction
public CreateMonitorAction()
Creates an instance of CreateMonitorAction class.
Method Details
actionType
public ScheduleActionType actionType()
Get the actionType property: [Required] Specifies the action type of the schedule.
Overrides:
CreateMonitorAction.actionType()Returns:
fromJson
public static CreateMonitorAction fromJson(JsonReader jsonReader)
Reads an instance of CreateMonitorAction from the JsonReader.
Parameters:
Returns:
Throws:
monitorDefinition
public MonitorDefinition monitorDefinition()
Get the monitorDefinition property: [Required] Defines the monitor.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CreateMonitorAction.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
CreateMonitorAction.validate()withMonitorDefinition
public CreateMonitorAction withMonitorDefinition(MonitorDefinition monitorDefinition)
Set the monitorDefinition property: [Required] Defines the monitor.
Parameters:
Returns: