LogicAppReceiver Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. LogicAppReceiver
- com.
Implements
public final class LogicAppReceiver
implements JsonSerializable<LogicAppReceiver>
A logic app receiver.
Constructor Summary
Constructor | Description |
---|---|
LogicAppReceiver() |
Creates an instance of Logic |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
callbackUrl()
Get the callback |
static
Logic |
fromJson(JsonReader jsonReader)
Reads an instance of Logic |
String |
name()
Get the name property: The name of the logic app receiver. |
String |
resourceId()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
Boolean |
useCommonAlertSchema()
Get the use |
void |
validate()
Validates the instance. |
Logic |
withCallbackUrl(String callbackUrl)
Set the callback |
Logic |
withName(String name)
Set the name property: The name of the logic app receiver. |
Logic |
withResourceId(String resourceId)
Set the resource |
Logic |
withUseCommonAlertSchema(Boolean useCommonAlertSchema)
Set the use |
Methods inherited from java.lang.Object
Constructor Details
LogicAppReceiver
public LogicAppReceiver()
Creates an instance of LogicAppReceiver class.
Method Details
callbackUrl
public String callbackUrl()
Get the callbackUrl property: The callback url where http request sent to.
Returns:
fromJson
public static LogicAppReceiver fromJson(JsonReader jsonReader)
Reads an instance of LogicAppReceiver from the JsonReader.
Parameters:
Returns:
Throws:
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:
resourceId
public String resourceId()
Get the resourceId property: The azure resource id of the logic app receiver.
Returns:
toJson
useCommonAlertSchema
public Boolean useCommonAlertSchema()
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
Returns:
validate
public void validate()
Validates the instance.
withCallbackUrl
public LogicAppReceiver withCallbackUrl(String callbackUrl)
Set the callbackUrl property: The callback url where http request sent to.
Parameters:
Returns:
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:
Returns:
withResourceId
public LogicAppReceiver withResourceId(String resourceId)
Set the resourceId property: The azure resource id of the logic app receiver.
Parameters:
Returns:
withUseCommonAlertSchema
public LogicAppReceiver withUseCommonAlertSchema(Boolean useCommonAlertSchema)
Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
Parameters:
Returns:
Applies to
Azure SDK for Java