Class JobInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.JobInner
-
public class JobInner extends com.azure.core.management.ProxyResourceA job.
-
-
Constructor Summary
Constructors Constructor Description JobInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: User-defined description of the job.JobScheduleschedule()Get the schedule property: Schedule properties of the job.voidvalidate()Validates the instance.Integerversion()Get the version property: The job version number.JobInnerwithDescription(String description)Set the description property: User-defined description of the job.JobInnerwithSchedule(JobSchedule schedule)Set the schedule property: Schedule properties of the job.
-
-
-
Method Detail
-
description
public String description()
Get the description property: User-defined description of the job.- Returns:
- the description value.
-
withDescription
public JobInner withDescription(String description)
Set the description property: User-defined description of the job.- Parameters:
description- the description value to set.- Returns:
- the JobInner object itself.
-
version
public Integer version()
Get the version property: The job version number.- Returns:
- the version value.
-
schedule
public JobSchedule schedule()
Get the schedule property: Schedule properties of the job.- Returns:
- the schedule value.
-
withSchedule
public JobInner withSchedule(JobSchedule schedule)
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.
-
-