Class TriggeredWebJobInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.TriggeredWebJobInner

public final class TriggeredWebJobInner extends ProxyOnlyResource
Triggered Web Job Information.
  • Constructor Details

    • TriggeredWebJobInner

      public TriggeredWebJobInner()
  • Method Details

    • withKind

      public TriggeredWebJobInner withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • latestRun

      public TriggeredJobRun latestRun()
      Get the latestRun property: Latest job run information.
      Returns:
      the latestRun value.
    • withLatestRun

      public TriggeredWebJobInner withLatestRun(TriggeredJobRun latestRun)
      Set the latestRun property: Latest job run information.
      Parameters:
      latestRun - the latestRun value to set.
      Returns:
      the TriggeredWebJobInner object itself.
    • historyUrl

      public String historyUrl()
      Get the historyUrl property: History URL.
      Returns:
      the historyUrl value.
    • withHistoryUrl

      public TriggeredWebJobInner withHistoryUrl(String historyUrl)
      Set the historyUrl property: History URL.
      Parameters:
      historyUrl - the historyUrl value to set.
      Returns:
      the TriggeredWebJobInner object itself.
    • schedulerLogsUrl

      public String schedulerLogsUrl()
      Get the schedulerLogsUrl property: Scheduler Logs URL.
      Returns:
      the schedulerLogsUrl value.
    • withSchedulerLogsUrl

      public TriggeredWebJobInner withSchedulerLogsUrl(String schedulerLogsUrl)
      Set the schedulerLogsUrl property: Scheduler Logs URL.
      Parameters:
      schedulerLogsUrl - the schedulerLogsUrl value to set.
      Returns:
      the TriggeredWebJobInner object itself.
    • runCommand

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

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

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

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

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

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

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

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

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

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

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

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

      public String publicNetworkAccess()
      Get the publicNetworkAccess property: Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.
      Returns:
      the publicNetworkAccess value.
    • withPublicNetworkAccess

      public TriggeredWebJobInner withPublicNetworkAccess(String publicNetworkAccess)
      Set the publicNetworkAccess property: Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.
      Parameters:
      publicNetworkAccess - the publicNetworkAccess value to set.
      Returns:
      the TriggeredWebJobInner object itself.
    • storageAccountRequired

      public Boolean storageAccountRequired()
      Get the storageAccountRequired property: Checks if Customer provided storage account is required.
      Returns:
      the storageAccountRequired value.
    • withStorageAccountRequired

      public TriggeredWebJobInner withStorageAccountRequired(Boolean storageAccountRequired)
      Set the storageAccountRequired property: Checks if Customer provided storage account is required.
      Parameters:
      storageAccountRequired - the storageAccountRequired value to set.
      Returns:
      the TriggeredWebJobInner object itself.
    • settings

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

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

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