JobInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. JobInner
- com.
- com.
public final class JobInner
extends ProxyResource
A job.
Constructor Summary
Constructor | Description |
---|---|
JobInner() |
Creates an instance of Job |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: User-defined description of the job. |
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Job |
schedule()
Get the schedule property: Schedule properties of the job. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Integer |
version()
Get the version property: The job version number. |
Job |
withDescription(String description)
Set the description property: User-defined description of the job. |
Job |
withSchedule(JobSchedule schedule)
Set the schedule property: Schedule properties of the job. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
JobInner
public JobInner()
Creates an instance of JobInner class.
Method Details
description
public String description()
Get the description property: User-defined description of the job.
Returns:
fromJson
public static JobInner fromJson(JsonReader jsonReader)
Reads an instance of JobInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
JobInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
JobInner.name()Returns:
schedule
public JobSchedule schedule()
Get the schedule property: Schedule properties of the job.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
JobInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
JobInner.type()Returns:
validate
public void validate()
Validates the instance.
version
public Integer version()
Get the version property: The job version number.
Returns:
withDescription
public JobInner withDescription(String description)
Set the description property: User-defined description of the job.
Parameters:
Returns:
withSchedule
public JobInner withSchedule(JobSchedule schedule)
Set the schedule property: Schedule properties of the job.
Parameters:
Returns:
Applies to
Azure SDK for Java