Class WebJobProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.WebJobProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<WebJobProperties>

public final class WebJobProperties extends Object implements com.azure.json.JsonSerializable<WebJobProperties>
WebJob resource specific properties.
  • Constructor Details

    • WebJobProperties

      public WebJobProperties()
      Creates an instance of WebJobProperties class.
  • Method Details

    • 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<WebJobProperties>
      Throws:
      IOException
    • fromJson

      public static WebJobProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WebJobProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WebJobProperties 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 WebJobProperties.