Class LogicAppReceiver

java.lang.Object
com.azure.resourcemanager.monitor.models.LogicAppReceiver

public final class LogicAppReceiver extends Object
A logic app receiver.
  • Constructor Details

    • LogicAppReceiver

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

    • name

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

      public LogicAppReceiver withName(String name)
      Set the name property: The name of the logic app receiver. Names must be unique across all receivers within an action group.
      Parameters:
      name - the name value to set.
      Returns:
      the LogicAppReceiver object itself.
    • resourceId

      public String resourceId()
      Get the resourceId property: The azure resource id of the logic app receiver.
      Returns:
      the resourceId value.
    • withResourceId

      public LogicAppReceiver withResourceId(String resourceId)
      Set the resourceId property: The azure resource id of the logic app receiver.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the LogicAppReceiver object itself.
    • callbackUrl

      public String callbackUrl()
      Get the callbackUrl property: The callback url where http request sent to.
      Returns:
      the callbackUrl value.
    • withCallbackUrl

      public LogicAppReceiver withCallbackUrl(String callbackUrl)
      Set the callbackUrl property: The callback url where http request sent to.
      Parameters:
      callbackUrl - the callbackUrl value to set.
      Returns:
      the LogicAppReceiver object itself.
    • useCommonAlertSchema

      public Boolean useCommonAlertSchema()
      Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
      Returns:
      the useCommonAlertSchema value.
    • withUseCommonAlertSchema

      public LogicAppReceiver withUseCommonAlertSchema(Boolean useCommonAlertSchema)
      Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
      Parameters:
      useCommonAlertSchema - the useCommonAlertSchema value to set.
      Returns:
      the LogicAppReceiver object itself.
    • validate

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