WebhookNotification Class

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

public final class WebhookNotification

Webhook notification of an autoscale event.

Constructor Summary

Constructor Description
WebhookNotification()

Creates an instance of WebhookNotification class.

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 serviceUri property: the service address to receive the notification.

void validate()

Validates the instance.

WebhookNotification withProperties(Map<String,String> properties)

Set the properties property: a property bag of settings.

WebhookNotification withServiceUri(String serviceUri)

Set the serviceUri property: the service address to receive the notification.

Methods inherited from java.lang.Object

Constructor Details

WebhookNotification

public WebhookNotification()

Creates an instance of WebhookNotification class.

Method Details

properties

public Map properties()

Get the properties property: a property bag of settings. This value can be empty.

Returns:

the properties value.

serviceUri

public String serviceUri()

Get the serviceUri property: the service address to receive the notification.

Returns:

the serviceUri value.

validate

public void validate()

Validates the instance.

withProperties

public WebhookNotification withProperties(Map properties)

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.

withServiceUri

public WebhookNotification withServiceUri(String serviceUri)

Set the serviceUri property: the service address to receive the notification.

Parameters:

serviceUri - the serviceUri value to set.

Returns:

the WebhookNotification object itself.

Applies to