WebhookNotification Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. WebhookNotification
- com.
public final class WebhookNotification
Webhook notification of an autoscale event.
Constructor Summary
Constructor | Description |
---|---|
WebhookNotification() |
Creates an instance of Webhook |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
properties()
Get the properties property: a property bag of settings. |
String |
serviceUri()
Get the service |
void |
validate()
Validates the instance. |
Webhook |
withProperties(Map<String,String> properties)
Set the properties property: a property bag of settings. |
Webhook |
withServiceUri(String serviceUri)
Set the service |
Methods inherited from java.lang.Object
Constructor Details
WebhookNotification
public WebhookNotification()
Creates an instance of WebhookNotification class.
Method Details
properties
public Map
Get the properties property: a property bag of settings. This value can be empty.
Returns:
serviceUri
public String serviceUri()
Get the serviceUri property: the service address to receive the notification.
Returns:
validate
public void validate()
Validates the instance.
withProperties
public WebhookNotification withProperties(Map
Set the properties property: a property bag of settings. This value can be empty.
Parameters:
Returns:
withServiceUri
public WebhookNotification withServiceUri(String serviceUri)
Set the serviceUri property: the service address to receive the notification.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for