Class WebhookReceiver

java.lang.Object
com.microsoft.azure.management.monitor.WebhookReceiver

public class WebhookReceiver extends Object
A webhook receiver.
  • Constructor Details

    • WebhookReceiver

      public WebhookReceiver()
  • Method Details

    • name

      public String name()
      Get the name of the webhook receiver. Names must be unique across all receivers within an action group.
      Returns:
      the name value
    • withName

      public WebhookReceiver withName(String name)
      Set the name of the webhook receiver. Names must be unique across all receivers within an action group.
      Parameters:
      name - the name value to set
      Returns:
      the WebhookReceiver object itself.
    • serviceUri

      public String serviceUri()
      Get the URI where webhooks should be sent.
      Returns:
      the serviceUri value
    • withServiceUri

      public WebhookReceiver withServiceUri(String serviceUri)
      Set the URI where webhooks should be sent.
      Parameters:
      serviceUri - the serviceUri value to set
      Returns:
      the WebhookReceiver object itself.
    • useCommonAlertSchema

      public boolean useCommonAlertSchema()
      Get indicates whether to use common alert schema.
      Returns:
      the useCommonAlertSchema value
    • withUseCommonAlertSchema

      public WebhookReceiver withUseCommonAlertSchema(boolean useCommonAlertSchema)
      Set indicates whether to use common alert schema.
      Parameters:
      useCommonAlertSchema - the useCommonAlertSchema value to set
      Returns:
      the WebhookReceiver object itself.
    • useAadAuth

      public Boolean useAadAuth()
      Get indicates whether or not use AAD authentication.
      Returns:
      the useAadAuth value
    • withUseAadAuth

      public WebhookReceiver withUseAadAuth(Boolean useAadAuth)
      Set indicates whether or not use AAD authentication.
      Parameters:
      useAadAuth - the useAadAuth value to set
      Returns:
      the WebhookReceiver object itself.
    • objectId

      public String objectId()
      Get indicates the webhook app object Id for aad auth.
      Returns:
      the objectId value
    • withObjectId

      public WebhookReceiver withObjectId(String objectId)
      Set indicates the webhook app object Id for aad auth.
      Parameters:
      objectId - the objectId value to set
      Returns:
      the WebhookReceiver object itself.
    • identifierUri

      public String identifierUri()
      Get indicates the identifier uri for aad auth.
      Returns:
      the identifierUri value
    • withIdentifierUri

      public WebhookReceiver withIdentifierUri(String identifierUri)
      Set indicates the identifier uri for aad auth.
      Parameters:
      identifierUri - the identifierUri value to set
      Returns:
      the WebhookReceiver object itself.
    • tenantId

      public String tenantId()
      Get indicates the tenant id for aad auth.
      Returns:
      the tenantId value
    • withTenantId

      public WebhookReceiver withTenantId(String tenantId)
      Set indicates the tenant id for aad auth.
      Parameters:
      tenantId - the tenantId value to set
      Returns:
      the WebhookReceiver object itself.