TriggerBase Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. TriggerBase
- com.
Implements
public class TriggerBase
implements JsonSerializable<TriggerBase>
The TriggerBase model.
Constructor Summary
| Constructor | Description |
|---|---|
| TriggerBase() |
Creates an instance of Trigger |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
endTime()
Get the end |
|
static
Trigger |
fromJson(JsonReader jsonReader)
Reads an instance of Trigger |
| String |
startTime()
Get the start |
| String |
timeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Trigger |
triggerType()
Get the trigger |
| void |
validate()
Validates the instance. |
|
Trigger |
withEndTime(String endTime)
Set the end |
|
Trigger |
withStartTime(String startTime)
Set the start |
|
Trigger |
withTimeZone(String timeZone)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
TriggerBase
public TriggerBase()
Creates an instance of TriggerBase class.
Method Details
endTime
public String endTime()
Get the endTime property: Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO\_8601. Recommented format would be "2022-06-01T00:00:01" If not present, the schedule will run indefinitely.
Returns:
fromJson
public static TriggerBase fromJson(JsonReader jsonReader)
Reads an instance of TriggerBase from the JsonReader.
Parameters:
Returns:
Throws:
startTime
public String startTime()
Get the startTime property: Specifies start time of schedule in ISO 8601 format, but without a UTC offset.
Returns:
timeZone
public String timeZone()
Get the timeZone property: Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11.
Returns:
toJson
triggerType
public TriggerType triggerType()
Get the triggerType property: [Required].
Returns:
validate
public void validate()
Validates the instance.
withEndTime
public TriggerBase withEndTime(String endTime)
Set the endTime property: Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO\_8601. Recommented format would be "2022-06-01T00:00:01" If not present, the schedule will run indefinitely.
Parameters:
Returns:
withStartTime
public TriggerBase withStartTime(String startTime)
Set the startTime property: Specifies start time of schedule in ISO 8601 format, but without a UTC offset.
Parameters:
Returns:
withTimeZone
public TriggerBase withTimeZone(String timeZone)
Set the timeZone property: Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11.
Parameters:
Returns: