Class TriggeredJobRun
- java.lang.Object
-
- com.microsoft.azure.ProxyResource
-
- com.microsoft.azure.management.appservice.ProxyOnlyResource
-
- com.microsoft.azure.management.appservice.TriggeredJobRun
-
public class TriggeredJobRun extends ProxyOnlyResource
Triggered Web Job Run Information.
-
-
Constructor Summary
Constructors Constructor Description TriggeredJobRun()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringduration()Get job duration.org.joda.time.DateTimeendTime()Get end time.StringerrorUrl()Get error URL.StringjobName()Get job name.StringoutputUrl()Get output URL.org.joda.time.DateTimestartTime()Get start time.TriggeredWebJobStatusstatus()Get job status.Stringtrigger()Get job trigger.Stringurl()Get job URL.StringwebJobId()Get job ID.StringwebJobName()Get job name.TriggeredJobRunwithDuration(String duration)Set job duration.TriggeredJobRunwithEndTime(org.joda.time.DateTime endTime)Set end time.TriggeredJobRunwithErrorUrl(String errorUrl)Set error URL.TriggeredJobRunwithJobName(String jobName)Set job name.TriggeredJobRunwithOutputUrl(String outputUrl)Set output URL.TriggeredJobRunwithStartTime(org.joda.time.DateTime startTime)Set start time.TriggeredJobRunwithStatus(TriggeredWebJobStatus status)Set job status.TriggeredJobRunwithTrigger(String trigger)Set job trigger.TriggeredJobRunwithUrl(String url)Set job URL.TriggeredJobRunwithWebJobId(String webJobId)Set job ID.TriggeredJobRunwithWebJobName(String webJobName)Set job name.-
Methods inherited from class com.microsoft.azure.management.appservice.ProxyOnlyResource
kind, withKind
-
-
-
-
Method Detail
-
webJobId
public String webJobId()
Get job ID.- Returns:
- the webJobId value
-
withWebJobId
public TriggeredJobRun withWebJobId(String webJobId)
Set job ID.- Parameters:
webJobId- the webJobId value to set- Returns:
- the TriggeredJobRun object itself.
-
webJobName
public String webJobName()
Get job name.- Returns:
- the webJobName value
-
withWebJobName
public TriggeredJobRun withWebJobName(String webJobName)
Set job name.- Parameters:
webJobName- the webJobName value to set- Returns:
- the TriggeredJobRun object itself.
-
status
public TriggeredWebJobStatus status()
Get job status. Possible values include: 'Success', 'Failed', 'Error'.- Returns:
- the status value
-
withStatus
public TriggeredJobRun withStatus(TriggeredWebJobStatus status)
Set job status. Possible values include: 'Success', 'Failed', 'Error'.- Parameters:
status- the status value to set- Returns:
- the TriggeredJobRun object itself.
-
startTime
public org.joda.time.DateTime startTime()
Get start time.- Returns:
- the startTime value
-
withStartTime
public TriggeredJobRun withStartTime(org.joda.time.DateTime startTime)
Set start time.- Parameters:
startTime- the startTime value to set- Returns:
- the TriggeredJobRun object itself.
-
endTime
public org.joda.time.DateTime endTime()
Get end time.- Returns:
- the endTime value
-
withEndTime
public TriggeredJobRun withEndTime(org.joda.time.DateTime endTime)
Set end time.- Parameters:
endTime- the endTime value to set- Returns:
- the TriggeredJobRun object itself.
-
duration
public String duration()
Get job duration.- Returns:
- the duration value
-
withDuration
public TriggeredJobRun withDuration(String duration)
Set job duration.- Parameters:
duration- the duration value to set- Returns:
- the TriggeredJobRun object itself.
-
outputUrl
public String outputUrl()
Get output URL.- Returns:
- the outputUrl value
-
withOutputUrl
public TriggeredJobRun withOutputUrl(String outputUrl)
Set output URL.- Parameters:
outputUrl- the outputUrl value to set- Returns:
- the TriggeredJobRun object itself.
-
errorUrl
public String errorUrl()
Get error URL.- Returns:
- the errorUrl value
-
withErrorUrl
public TriggeredJobRun withErrorUrl(String errorUrl)
Set error URL.- Parameters:
errorUrl- the errorUrl value to set- Returns:
- the TriggeredJobRun object itself.
-
url
public String url()
Get job URL.- Returns:
- the url value
-
withUrl
public TriggeredJobRun withUrl(String url)
Set job URL.- Parameters:
url- the url value to set- Returns:
- the TriggeredJobRun object itself.
-
jobName
public String jobName()
Get job name.- Returns:
- the jobName value
-
withJobName
public TriggeredJobRun withJobName(String jobName)
Set job name.- Parameters:
jobName- the jobName value to set- Returns:
- the TriggeredJobRun object itself.
-
trigger
public String trigger()
Get job trigger.- Returns:
- the trigger value
-
withTrigger
public TriggeredJobRun withTrigger(String trigger)
Set job trigger.- Parameters:
trigger- the trigger value to set- Returns:
- the TriggeredJobRun object itself.
-
-