WebJobInner Class

public final class WebJobInner
extends ProxyOnlyResource

Web Job Information.

Constructor Summary

Constructor Description
WebJobInner()

Creates an instance of WebJobInner class.

Method Summary

Modifier and Type Method and Description
String error()

Get the error property: Error information.

String extraInfoUrl()

Get the extraInfoUrl property: Extra Info URL.

static WebJobInner fromJson(JsonReader jsonReader)

Reads an instance of WebJobInner 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.

String runCommand()

Get the runCommand property: Run command.

Map<String,Object> settings()

Get the settings property: Job settings.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String url()

Get the url property: Job URL.

Boolean usingSdk()

Get the usingSdk property: Using SDK?.

void validate()

Validates the instance.

WebJobType webJobType()

Get the webJobType property: Job type.

WebJobInner withError(String error)

Set the error property: Error information.

WebJobInner withExtraInfoUrl(String extraInfoUrl)

Set the extraInfoUrl property: Extra Info URL.

WebJobInner withKind(String kind)

Set the kind property: Kind of resource.

WebJobInner withRunCommand(String runCommand)

Set the runCommand property: Run command.

WebJobInner withSettings(Map<String,Object> settings)

Set the settings property: Job settings.

WebJobInner withUrl(String url)

Set the url property: Job URL.

WebJobInner withUsingSdk(Boolean usingSdk)

Set the usingSdk property: Using SDK?.

WebJobInner withWebJobType(WebJobType webJobType)

Set the webJobType property: Job type.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

WebJobInner

public WebJobInner()

Creates an instance of WebJobInner class.

Method Details

error

public String error()

Get the error property: Error information.

Returns:

the error value.

extraInfoUrl

public String extraInfoUrl()

Get the extraInfoUrl property: Extra Info URL.

Returns:

the extraInfoUrl value.

fromJson

public static WebJobInner fromJson(JsonReader jsonReader)

Reads an instance of WebJobInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WebJobInner 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:

WebJobInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WebJobInner.name()

Returns:

the name value.

runCommand

public String runCommand()

Get the runCommand property: Run command.

Returns:

the runCommand value.

settings

public Map settings()

Get the settings property: Job settings.

Returns:

the settings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WebJobInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

WebJobInner.type()

Returns:

the type value.

url

public String url()

Get the url property: Job URL.

Returns:

the url value.

usingSdk

public Boolean usingSdk()

Get the usingSdk property: Using SDK?.

Returns:

the usingSdk value.

validate

public void validate()

Validates the instance.

Overrides:

WebJobInner.validate()

webJobType

public WebJobType webJobType()

Get the webJobType property: Job type.

Returns:

the webJobType value.

withError

public WebJobInner withError(String error)

Set the error property: Error information.

Parameters:

error - the error value to set.

Returns:

the WebJobInner object itself.

withExtraInfoUrl

public WebJobInner withExtraInfoUrl(String extraInfoUrl)

Set the extraInfoUrl property: Extra Info URL.

Parameters:

extraInfoUrl - the extraInfoUrl value to set.

Returns:

the WebJobInner object itself.

withKind

public WebJobInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

WebJobInner.withKind(String kind)

Parameters:

kind

withRunCommand

public WebJobInner withRunCommand(String runCommand)

Set the runCommand property: Run command.

Parameters:

runCommand - the runCommand value to set.

Returns:

the WebJobInner object itself.

withSettings

public WebJobInner withSettings(Map settings)

Set the settings property: Job settings.

Parameters:

settings - the settings value to set.

Returns:

the WebJobInner object itself.

withUrl

public WebJobInner withUrl(String url)

Set the url property: Job URL.

Parameters:

url - the url value to set.

Returns:

the WebJobInner object itself.

withUsingSdk

public WebJobInner withUsingSdk(Boolean usingSdk)

Set the usingSdk property: Using SDK?.

Parameters:

usingSdk - the usingSdk value to set.

Returns:

the WebJobInner object itself.

withWebJobType

public WebJobInner withWebJobType(WebJobType webJobType)

Set the webJobType property: Job type.

Parameters:

webJobType - the webJobType value to set.

Returns:

the WebJobInner object itself.

Applies to