Class LogicAppReceiver
java.lang.Object
com.azure.resourcemanager.monitor.models.LogicAppReceiver
A logic app receiver.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the callbackUrl property: The callback url where http request sent to.name()Get the name property: The name of the logic app receiver.Get the resourceId property: The azure resource id of the logic app receiver.Get the useCommonAlertSchema property: Indicates whether to use common alert schema.voidvalidate()Validates the instance.withCallbackUrl(String callbackUrl) Set the callbackUrl property: The callback url where http request sent to.Set the name property: The name of the logic app receiver.withResourceId(String resourceId) Set the resourceId property: The azure resource id of the logic app receiver.withUseCommonAlertSchema(Boolean useCommonAlertSchema) Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
-
Constructor Details
-
LogicAppReceiver
public LogicAppReceiver()Creates an instance of LogicAppReceiver class.
-
-
Method Details
-
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
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
Get the resourceId property: The azure resource id of the logic app receiver.- Returns:
- the resourceId value.
-
withResourceId
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
Get the callbackUrl property: The callback url where http request sent to.- Returns:
- the callbackUrl value.
-
withCallbackUrl
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
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.- Returns:
- the useCommonAlertSchema value.
-
withUseCommonAlertSchema
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.
-