TriggeredJobRun Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. TriggeredJobRun
- com.
Implements
public final class TriggeredJobRun
implements JsonSerializable<TriggeredJobRun>
Triggered Web Job Run Information.
Constructor Summary
Constructor | Description |
---|---|
TriggeredJobRun() |
Creates an instance of Triggered |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
duration()
Get the duration property: Job duration. |
Offset |
endTime()
Get the end |
String |
errorUrl()
Get the error |
static
Triggered |
fromJson(JsonReader jsonReader)
Reads an instance of Triggered |
String |
jobName()
Get the job |
String |
outputUrl()
Get the output |
Offset |
startTime()
Get the start |
Triggered |
status()
Get the status property: Job status. |
Json |
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 web |
String |
webJobName()
Get the web |
Triggered |
withDuration(String duration)
Set the duration property: Job duration. |
Triggered |
withEndTime(OffsetDateTime endTime)
Set the end |
Triggered |
withErrorUrl(String errorUrl)
Set the error |
Triggered |
withJobName(String jobName)
Set the job |
Triggered |
withOutputUrl(String outputUrl)
Set the output |
Triggered |
withStartTime(OffsetDateTime startTime)
Set the start |
Triggered |
withStatus(TriggeredWebJobStatus status)
Set the status property: Job status. |
Triggered |
withTrigger(String trigger)
Set the trigger property: Job trigger. |
Triggered |
withUrl(String url)
Set the url property: Job URL. |
Triggered |
withWebJobId(String webJobId)
Set the web |
Triggered |
withWebJobName(String webJobName)
Set the web |
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:
endTime
public OffsetDateTime endTime()
Get the endTime property: End time.
Returns:
errorUrl
public String errorUrl()
Get the errorUrl property: Error URL.
Returns:
fromJson
public static TriggeredJobRun fromJson(JsonReader jsonReader)
Reads an instance of TriggeredJobRun from the JsonReader.
Parameters:
Returns:
Throws:
jobName
public String jobName()
Get the jobName property: Job name.
Returns:
outputUrl
public String outputUrl()
Get the outputUrl property: Output URL.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time.
Returns:
status
public TriggeredWebJobStatus status()
Get the status property: Job status.
Returns:
toJson
trigger
public String trigger()
Get the trigger property: Job trigger.
Returns:
url
public String url()
Get the url property: Job URL.
Returns:
validate
public void validate()
Validates the instance.
webJobId
public String webJobId()
Get the webJobId property: Job ID.
Returns:
webJobName
public String webJobName()
Get the webJobName property: Job name.
Returns:
withDuration
public TriggeredJobRun withDuration(String duration)
Set the duration property: Job duration.
Parameters:
Returns:
withEndTime
public TriggeredJobRun withEndTime(OffsetDateTime endTime)
Set the endTime property: End time.
Parameters:
Returns:
withErrorUrl
public TriggeredJobRun withErrorUrl(String errorUrl)
Set the errorUrl property: Error URL.
Parameters:
Returns:
withJobName
public TriggeredJobRun withJobName(String jobName)
Set the jobName property: Job name.
Parameters:
Returns:
withOutputUrl
public TriggeredJobRun withOutputUrl(String outputUrl)
Set the outputUrl property: Output URL.
Parameters:
Returns:
withStartTime
public TriggeredJobRun withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time.
Parameters:
Returns:
withStatus
public TriggeredJobRun withStatus(TriggeredWebJobStatus status)
Set the status property: Job status.
Parameters:
Returns:
withTrigger
public TriggeredJobRun withTrigger(String trigger)
Set the trigger property: Job trigger.
Parameters:
Returns:
withUrl
public TriggeredJobRun withUrl(String url)
Set the url property: Job URL.
Parameters:
Returns:
withWebJobId
public TriggeredJobRun withWebJobId(String webJobId)
Set the webJobId property: Job ID.
Parameters:
Returns:
withWebJobName
public TriggeredJobRun withWebJobName(String webJobName)
Set the webJobName property: Job name.
Parameters:
Returns:
Applies to
Azure SDK for Java