LogicAppReceiver Class

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

Implements

public final class LogicAppReceiver
implements JsonSerializable<LogicAppReceiver>

A logic app receiver.

Constructor Summary

Constructor Description
LogicAppReceiver()

Creates an instance of LogicAppReceiver class.

Method Summary

Modifier and Type Method and Description
String callbackUrl()

Get the callbackUrl property: The callback url where http request sent to.

static LogicAppReceiver fromJson(JsonReader jsonReader)

Reads an instance of LogicAppReceiver from the JsonReader.

String name()

Get the name property: The name of the logic app receiver.

String resourceId()

Get the resourceId property: The azure resource id of the logic app receiver.

JsonWriter toJson(JsonWriter jsonWriter)
Boolean useCommonAlertSchema()

Get the useCommonAlertSchema property: Indicates whether to use common alert schema.

void validate()

Validates the instance.

LogicAppReceiver withCallbackUrl(String callbackUrl)

Set the callbackUrl property: The callback url where http request sent to.

LogicAppReceiver withName(String name)

Set the name property: The name of the logic app receiver.

LogicAppReceiver withResourceId(String resourceId)

Set the resourceId property: The azure resource id of the logic app receiver.

LogicAppReceiver withUseCommonAlertSchema(Boolean useCommonAlertSchema)

Set the useCommonAlertSchema property: Indicates whether to use common alert schema.

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:

the callbackUrl value.

fromJson

public static LogicAppReceiver fromJson(JsonReader jsonReader)

Reads an instance of LogicAppReceiver from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LogicAppReceiver if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

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.

resourceId

public String resourceId()

Get the resourceId property: The azure resource id of the logic app receiver.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

useCommonAlertSchema

public Boolean useCommonAlertSchema()

Get the useCommonAlertSchema property: Indicates whether to use common alert schema.

Returns:

the useCommonAlertSchema value.

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:

callbackUrl - the callbackUrl value to set.

Returns:

the LogicAppReceiver object itself.

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.

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.

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.

Applies to