Class WebhookNotification
java.lang.Object
com.azure.resourcemanager.monitor.models.WebhookNotification
Webhook notification of an autoscale event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: a property bag of settings.Get the serviceUri property: the service address to receive the notification.voidvalidate()Validates the instance.withProperties(Map<String, String> properties) Set the properties property: a property bag of settings.withServiceUri(String serviceUri) Set the serviceUri property: the service address to receive the notification.
-
Constructor Details
-
WebhookNotification
public WebhookNotification()Creates an instance of WebhookNotification class.
-
-
Method Details
-
serviceUri
Get the serviceUri property: the service address to receive the notification.- Returns:
- the serviceUri value.
-
withServiceUri
Set the serviceUri property: the service address to receive the notification.- Parameters:
serviceUri- the serviceUri value to set.- Returns:
- the WebhookNotification object itself.
-
properties
Get the properties property: a property bag of settings. This value can be empty.- Returns:
- the properties value.
-
withProperties
Set the properties property: a property bag of settings. This value can be empty.- Parameters:
properties- the properties value to set.- Returns:
- the WebhookNotification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-