Class TriggeredJobRun


  • public final class TriggeredJobRun
    extends Object
    Triggered Web Job Run Information.
    • Constructor Detail

      • TriggeredJobRun

        public TriggeredJobRun()
    • Method Detail

      • webJobId

        public String webJobId()
        Get the webJobId property: Job ID.
        Returns:
        the webJobId value.
      • withWebJobId

        public TriggeredJobRun withWebJobId​(String webJobId)
        Set the webJobId property: Job ID.
        Parameters:
        webJobId - the webJobId value to set.
        Returns:
        the TriggeredJobRun object itself.
      • webJobName

        public String webJobName()
        Get the webJobName property: Job name.
        Returns:
        the webJobName value.
      • withWebJobName

        public TriggeredJobRun withWebJobName​(String webJobName)
        Set the webJobName property: Job name.
        Parameters:
        webJobName - the webJobName value to set.
        Returns:
        the TriggeredJobRun object itself.
      • status

        public TriggeredWebJobStatus status()
        Get the status property: Job status.
        Returns:
        the status value.
      • withStatus

        public TriggeredJobRun withStatus​(TriggeredWebJobStatus status)
        Set the status property: Job status.
        Parameters:
        status - the status value to set.
        Returns:
        the TriggeredJobRun object itself.
      • startTime

        public OffsetDateTime startTime()
        Get the startTime property: Start time.
        Returns:
        the startTime value.
      • withStartTime

        public TriggeredJobRun withStartTime​(OffsetDateTime startTime)
        Set the startTime property: Start time.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the TriggeredJobRun object itself.
      • endTime

        public OffsetDateTime endTime()
        Get the endTime property: End time.
        Returns:
        the endTime value.
      • withEndTime

        public TriggeredJobRun withEndTime​(OffsetDateTime endTime)
        Set the endTime property: End time.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the TriggeredJobRun object itself.
      • duration

        public String duration()
        Get the duration property: Job duration.
        Returns:
        the duration 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.
      • outputUrl

        public String outputUrl()
        Get the outputUrl property: Output URL.
        Returns:
        the outputUrl value.
      • withOutputUrl

        public TriggeredJobRun withOutputUrl​(String outputUrl)
        Set the outputUrl property: Output URL.
        Parameters:
        outputUrl - the outputUrl value to set.
        Returns:
        the TriggeredJobRun object itself.
      • errorUrl

        public String errorUrl()
        Get the errorUrl property: Error URL.
        Returns:
        the errorUrl value.
      • withErrorUrl

        public TriggeredJobRun withErrorUrl​(String errorUrl)
        Set the errorUrl property: Error URL.
        Parameters:
        errorUrl - the errorUrl value to set.
        Returns:
        the TriggeredJobRun object itself.
      • url

        public String url()
        Get the url property: Job URL.
        Returns:
        the url value.
      • withUrl

        public TriggeredJobRun withUrl​(String url)
        Set the url property: Job URL.
        Parameters:
        url - the url value to set.
        Returns:
        the TriggeredJobRun object itself.
      • jobName

        public String jobName()
        Get the jobName property: Job name.
        Returns:
        the jobName value.
      • withJobName

        public TriggeredJobRun withJobName​(String jobName)
        Set the jobName property: Job name.
        Parameters:
        jobName - the jobName value to set.
        Returns:
        the TriggeredJobRun object itself.
      • trigger

        public String trigger()
        Get the trigger property: Job trigger.
        Returns:
        the trigger value.
      • withTrigger

        public TriggeredJobRun withTrigger​(String trigger)
        Set the trigger property: Job trigger.
        Parameters:
        trigger - the trigger value to set.
        Returns:
        the TriggeredJobRun object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.