Class WebJobProperties


  • public final class WebJobProperties
    extends Object
    WebJob resource specific properties.
    • Constructor Detail

      • WebJobProperties

        public WebJobProperties()
    • Method Detail

      • runCommand

        public String runCommand()
        Get the runCommand property: Run command.
        Returns:
        the runCommand value.
      • withRunCommand

        public WebJobProperties withRunCommand​(String runCommand)
        Set the runCommand property: Run command.
        Parameters:
        runCommand - the runCommand value to set.
        Returns:
        the WebJobProperties object itself.
      • url

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

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

        public String extraInfoUrl()
        Get the extraInfoUrl property: Extra Info URL.
        Returns:
        the extraInfoUrl value.
      • withExtraInfoUrl

        public WebJobProperties withExtraInfoUrl​(String extraInfoUrl)
        Set the extraInfoUrl property: Extra Info URL.
        Parameters:
        extraInfoUrl - the extraInfoUrl value to set.
        Returns:
        the WebJobProperties object itself.
      • webJobType

        public WebJobType webJobType()
        Get the webJobType property: Job type.
        Returns:
        the webJobType value.
      • withWebJobType

        public WebJobProperties withWebJobType​(WebJobType webJobType)
        Set the webJobType property: Job type.
        Parameters:
        webJobType - the webJobType value to set.
        Returns:
        the WebJobProperties object itself.
      • error

        public String error()
        Get the error property: Error information.
        Returns:
        the error value.
      • withError

        public WebJobProperties withError​(String error)
        Set the error property: Error information.
        Parameters:
        error - the error value to set.
        Returns:
        the WebJobProperties object itself.
      • usingSdk

        public Boolean usingSdk()
        Get the usingSdk property: Using SDK?.
        Returns:
        the usingSdk value.
      • withUsingSdk

        public WebJobProperties withUsingSdk​(Boolean usingSdk)
        Set the usingSdk property: Using SDK?.
        Parameters:
        usingSdk - the usingSdk value to set.
        Returns:
        the WebJobProperties object itself.
      • settings

        public Map<String,​Object> settings()
        Get the settings property: Job settings.
        Returns:
        the settings value.
      • withSettings

        public WebJobProperties withSettings​(Map<String,​Object> settings)
        Set the settings property: Job settings.
        Parameters:
        settings - the settings value to set.
        Returns:
        the WebJobProperties object itself.
      • validate

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