Class JobInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.JobInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class JobInner
extends com.azure.core.management.ProxyResource
A job.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: User-defined description of the job.schedule()Get the schedule property: Schedule properties of the job.voidvalidate()Validates the instance.version()Get the version property: The job version number.withDescription(String description) Set the description property: User-defined description of the job.withSchedule(JobSchedule schedule) Set the schedule property: Schedule properties of the job.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
JobInner
public JobInner()Creates an instance of JobInner class.
-
-
Method Details
-
description
Get the description property: User-defined description of the job.- Returns:
- the description value.
-
withDescription
Set the description property: User-defined description of the job.- Parameters:
description- the description value to set.- Returns:
- the JobInner object itself.
-
version
Get the version property: The job version number.- Returns:
- the version value.
-
schedule
Get the schedule property: Schedule properties of the job.- Returns:
- the schedule value.
-
withSchedule
Set the schedule property: Schedule properties of the job.- Parameters:
schedule- the schedule value to set.- Returns:
- the JobInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-