java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.automation.fluent.models.WebhookInner

public final class WebhookInner extends com.azure.core.management.ProxyResource
Definition of the webhook type.
  • Constructor Details

    • WebhookInner

      public WebhookInner()
  • Method Details

    • isEnabled

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

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

      public String uri()
      Get the uri property: Gets or sets the webhook uri.
      Returns:
      the uri value.
    • withUri

      public WebhookInner withUri(String uri)
      Set the uri property: Gets or sets the webhook uri.
      Parameters:
      uri - the uri value to set.
      Returns:
      the WebhookInner object itself.
    • expiryTime

      public OffsetDateTime expiryTime()
      Get the expiryTime property: Gets or sets the expiry time.
      Returns:
      the expiryTime value.
    • withExpiryTime

      public WebhookInner withExpiryTime(OffsetDateTime expiryTime)
      Set the expiryTime property: Gets or sets the expiry time.
      Parameters:
      expiryTime - the expiryTime value to set.
      Returns:
      the WebhookInner object itself.
    • lastInvokedTime

      public OffsetDateTime lastInvokedTime()
      Get the lastInvokedTime property: Gets or sets the last invoked time.
      Returns:
      the lastInvokedTime value.
    • withLastInvokedTime

      public WebhookInner withLastInvokedTime(OffsetDateTime lastInvokedTime)
      Set the lastInvokedTime property: Gets or sets the last invoked time.
      Parameters:
      lastInvokedTime - the lastInvokedTime value to set.
      Returns:
      the WebhookInner object itself.
    • parameters

      public Map<String,String> parameters()
      Get the parameters property: Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
      Returns:
      the parameters value.
    • withParameters

      public WebhookInner withParameters(Map<String,String> parameters)
      Set the parameters property: Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the WebhookInner object itself.
    • runbook

      public RunbookAssociationProperty runbook()
      Get the runbook property: Gets or sets the runbook the webhook is associated with.
      Returns:
      the runbook value.
    • withRunbook

      public WebhookInner withRunbook(RunbookAssociationProperty runbook)
      Set the runbook property: Gets or sets the runbook the webhook is associated with.
      Parameters:
      runbook - the runbook value to set.
      Returns:
      the WebhookInner 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 WebhookInner 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 WebhookInner object itself.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: Gets or sets the creation time.
      Returns:
      the creationTime value.
    • withCreationTime

      public WebhookInner withCreationTime(OffsetDateTime creationTime)
      Set the creationTime property: Gets or sets the creation time.
      Parameters:
      creationTime - the creationTime value to set.
      Returns:
      the WebhookInner object itself.
    • lastModifiedTime

      public OffsetDateTime lastModifiedTime()
      Get the lastModifiedTime property: Gets or sets the last modified time.
      Returns:
      the lastModifiedTime value.
    • withLastModifiedTime

      public WebhookInner withLastModifiedTime(OffsetDateTime lastModifiedTime)
      Set the lastModifiedTime property: Gets or sets the last modified time.
      Parameters:
      lastModifiedTime - the lastModifiedTime value to set.
      Returns:
      the WebhookInner object itself.
    • lastModifiedBy

      public String lastModifiedBy()
      Get the lastModifiedBy property: Details of the user who last modified the Webhook.
      Returns:
      the lastModifiedBy value.
    • withLastModifiedBy

      public WebhookInner withLastModifiedBy(String lastModifiedBy)
      Set the lastModifiedBy property: Details of the user who last modified the Webhook.
      Parameters:
      lastModifiedBy - the lastModifiedBy value to set.
      Returns:
      the WebhookInner object itself.
    • description

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

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

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