JobInner Class

public final class JobInner
extends ProxyResource

A job.

Constructor Summary

Constructor Description
JobInner()

Creates an instance of JobInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: User-defined description of the job.

static JobInner fromJson(JsonReader jsonReader)

Reads an instance of JobInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

JobSchedule schedule()

Get the schedule property: Schedule properties of the job.

JsonWriter 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.

JobInner withDescription(String description)

Set the description property: User-defined description of the job.

JobInner 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:

the description value.

fromJson

public static JobInner fromJson(JsonReader jsonReader)

Reads an instance of JobInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of JobInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

JobInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

JobInner.name()

Returns:

the name value.

schedule

public JobSchedule schedule()

Get the schedule property: Schedule properties of the job.

Returns:

the schedule value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

JobInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

JobInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

version

public Integer version()

Get the version property: The job version number.

Returns:

the version 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.

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.

Applies to