ScheduleBase Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ScheduleBase
- com.
Implements
public final class ScheduleBase
implements JsonSerializable<ScheduleBase>
The ScheduleBase model.
Constructor Summary
| Constructor | Description |
|---|---|
| ScheduleBase() |
Creates an instance of Schedule |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Schedule |
fromJson(JsonReader jsonReader)
Reads an instance of Schedule |
| String |
id()
Get the id property: A system assigned id for the schedule. |
|
Schedule |
provisioningStatus()
Get the provisioning |
|
Schedule |
status()
Get the status property: Is the schedule enabled or disabled?. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Schedule |
withId(String id)
Set the id property: A system assigned id for the schedule. |
|
Schedule |
withProvisioningStatus(ScheduleProvisioningState provisioningStatus)
Set the provisioning |
|
Schedule |
withStatus(ScheduleStatus status)
Set the status property: Is the schedule enabled or disabled?. |
Methods inherited from java.lang.Object
Constructor Details
ScheduleBase
public ScheduleBase()
Creates an instance of ScheduleBase class.
Method Details
fromJson
public static ScheduleBase fromJson(JsonReader jsonReader)
Reads an instance of ScheduleBase from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: A system assigned id for the schedule.
Returns:
provisioningStatus
public ScheduleProvisioningState provisioningStatus()
Get the provisioningStatus property: The current deployment state of schedule.
Returns:
status
public ScheduleStatus status()
Get the status property: Is the schedule enabled or disabled?.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public ScheduleBase withId(String id)
Set the id property: A system assigned id for the schedule.
Parameters:
Returns:
withProvisioningStatus
public ScheduleBase withProvisioningStatus(ScheduleProvisioningState provisioningStatus)
Set the provisioningStatus property: The current deployment state of schedule.
Parameters:
Returns:
withStatus
public ScheduleBase withStatus(ScheduleStatus status)
Set the status property: Is the schedule enabled or disabled?.
Parameters:
Returns: