Class WebhookUpdateProperties

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.WebhookUpdateProperties

public final class WebhookUpdateProperties extends Object
The properties of the update webhook.
  • Constructor Details

    • WebhookUpdateProperties

      public WebhookUpdateProperties()
  • Method Details

    • isEnabled

      public Boolean isEnabled()
      Get the isEnabled property: Gets or sets the value of the enabled flag of webhook.
      Returns:
      the isEnabled value.
    • withIsEnabled

      public WebhookUpdateProperties withIsEnabled(Boolean isEnabled)
      Set the isEnabled property: Gets or sets the value of the enabled flag of webhook.
      Parameters:
      isEnabled - the isEnabled value to set.
      Returns:
      the WebhookUpdateProperties object itself.
    • runOn

      public String runOn()
      Get the runOn property: Gets or sets the name of the hybrid worker group the webhook job will run on.
      Returns:
      the runOn value.
    • withRunOn

      public WebhookUpdateProperties withRunOn(String runOn)
      Set the runOn property: Gets or sets the name of the hybrid worker group the webhook job will run on.
      Parameters:
      runOn - the runOn value to set.
      Returns:
      the WebhookUpdateProperties object itself.
    • parameters

      public Map<String,String> parameters()
      Get the parameters property: Gets or sets the parameters of the job.
      Returns:
      the parameters value.
    • withParameters

      public WebhookUpdateProperties withParameters(Map<String,String> parameters)
      Set the parameters property: Gets or sets the parameters of the job.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the WebhookUpdateProperties object itself.
    • description

      public String description()
      Get the description property: Gets or sets the description of the webhook.
      Returns:
      the description value.
    • withDescription

      public WebhookUpdateProperties withDescription(String description)
      Set the description property: Gets or sets the description of the webhook.
      Parameters:
      description - the description value to set.
      Returns:
      the WebhookUpdateProperties object itself.
    • validate

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