TriggeredJobRun Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.TriggeredJobRun

Implements

public final class TriggeredJobRun
implements JsonSerializable<TriggeredJobRun>

Triggered Web Job Run Information.

Constructor Summary

Constructor Description
TriggeredJobRun()

Creates an instance of TriggeredJobRun class.

Method Summary

Modifier and Type Method and Description
String duration()

Get the duration property: Job duration.

OffsetDateTime endTime()

Get the endTime property: End time.

String errorUrl()

Get the errorUrl property: Error URL.

static TriggeredJobRun fromJson(JsonReader jsonReader)

Reads an instance of TriggeredJobRun from the JsonReader.

String jobName()

Get the jobName property: Job name.

String outputUrl()

Get the outputUrl property: Output URL.

OffsetDateTime startTime()

Get the startTime property: Start time.

TriggeredWebJobStatus status()

Get the status property: Job status.

JsonWriter toJson(JsonWriter jsonWriter)
String trigger()

Get the trigger property: Job trigger.

String url()

Get the url property: Job URL.

void validate()

Validates the instance.

String webJobId()

Get the webJobId property: Job ID.

String webJobName()

Get the webJobName property: Job name.

TriggeredJobRun withDuration(String duration)

Set the duration property: Job duration.

TriggeredJobRun withEndTime(OffsetDateTime endTime)

Set the endTime property: End time.

TriggeredJobRun withErrorUrl(String errorUrl)

Set the errorUrl property: Error URL.

TriggeredJobRun withJobName(String jobName)

Set the jobName property: Job name.

TriggeredJobRun withOutputUrl(String outputUrl)

Set the outputUrl property: Output URL.

TriggeredJobRun withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time.

TriggeredJobRun withStatus(TriggeredWebJobStatus status)

Set the status property: Job status.

TriggeredJobRun withTrigger(String trigger)

Set the trigger property: Job trigger.

TriggeredJobRun withUrl(String url)

Set the url property: Job URL.

TriggeredJobRun withWebJobId(String webJobId)

Set the webJobId property: Job ID.

TriggeredJobRun withWebJobName(String webJobName)

Set the webJobName property: Job name.

Methods inherited from java.lang.Object

Constructor Details

TriggeredJobRun

public TriggeredJobRun()

Creates an instance of TriggeredJobRun class.

Method Details

duration

public String duration()

Get the duration property: Job duration.

Returns:

the duration value.

endTime

public OffsetDateTime endTime()

Get the endTime property: End time.

Returns:

the endTime value.

errorUrl

public String errorUrl()

Get the errorUrl property: Error URL.

Returns:

the errorUrl value.

fromJson

public static TriggeredJobRun fromJson(JsonReader jsonReader)

Reads an instance of TriggeredJobRun from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the TriggeredJobRun.

jobName

public String jobName()

Get the jobName property: Job name.

Returns:

the jobName value.

outputUrl

public String outputUrl()

Get the outputUrl property: Output URL.

Returns:

the outputUrl value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Start time.

Returns:

the startTime value.

status

public TriggeredWebJobStatus status()

Get the status property: Job status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trigger

public String trigger()

Get the trigger property: Job trigger.

Returns:

the trigger value.

url

public String url()

Get the url property: Job URL.

Returns:

the url value.

validate

public void validate()

Validates the instance.

webJobId

public String webJobId()

Get the webJobId property: Job ID.

Returns:

the webJobId value.

webJobName

public String webJobName()

Get the webJobName property: Job name.

Returns:

the webJobName value.

withDuration

public TriggeredJobRun withDuration(String duration)

Set the duration property: Job duration.

Parameters:

duration - the duration value to set.

Returns:

the TriggeredJobRun object itself.

withEndTime

public TriggeredJobRun withEndTime(OffsetDateTime endTime)

Set the endTime property: End time.

Parameters:

endTime - the endTime value to set.

Returns:

the TriggeredJobRun object itself.

withErrorUrl

public TriggeredJobRun withErrorUrl(String errorUrl)

Set the errorUrl property: Error URL.

Parameters:

errorUrl - the errorUrl value to set.

Returns:

the TriggeredJobRun object itself.

withJobName

public TriggeredJobRun withJobName(String jobName)

Set the jobName property: Job name.

Parameters:

jobName - the jobName value to set.

Returns:

the TriggeredJobRun object itself.

withOutputUrl

public TriggeredJobRun withOutputUrl(String outputUrl)

Set the outputUrl property: Output URL.

Parameters:

outputUrl - the outputUrl value to set.

Returns:

the TriggeredJobRun object itself.

withStartTime

public TriggeredJobRun withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time.

Parameters:

startTime - the startTime value to set.

Returns:

the TriggeredJobRun object itself.

withStatus

public TriggeredJobRun withStatus(TriggeredWebJobStatus status)

Set the status property: Job status.

Parameters:

status - the status value to set.

Returns:

the TriggeredJobRun object itself.

withTrigger

public TriggeredJobRun withTrigger(String trigger)

Set the trigger property: Job trigger.

Parameters:

trigger - the trigger value to set.

Returns:

the TriggeredJobRun object itself.

withUrl

public TriggeredJobRun withUrl(String url)

Set the url property: Job URL.

Parameters:

url - the url value to set.

Returns:

the TriggeredJobRun object itself.

withWebJobId

public TriggeredJobRun withWebJobId(String webJobId)

Set the webJobId property: Job ID.

Parameters:

webJobId - the webJobId value to set.

Returns:

the TriggeredJobRun object itself.

withWebJobName

public TriggeredJobRun withWebJobName(String webJobName)

Set the webJobName property: Job name.

Parameters:

webJobName - the webJobName value to set.

Returns:

the TriggeredJobRun object itself.

Applies to