Class WebhookReceiver
- java.lang.Object
-
- com.microsoft.azure.management.monitor.WebhookReceiver
-
public class WebhookReceiver extends Object
A webhook receiver.
-
-
Constructor Summary
Constructors Constructor Description WebhookReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name of the webhook receiver.StringserviceUri()Get the URI where webhooks should be sent.WebhookReceiverwithName(String name)Set the name of the webhook receiver.WebhookReceiverwithServiceUri(String serviceUri)Set the URI where webhooks should be sent.
-
-
-
Method Detail
-
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.
-
-