WebhookNotification Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. WebhookNotification
- com.
Implements
public final class WebhookNotification
implements JsonSerializable<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 |
---|---|
static
Webhook |
fromJson(JsonReader jsonReader)
Reads an instance of Webhook |
Map<String,String> |
properties()
Get the properties property: a property bag of settings. |
String |
serviceUri()
Get the service |
Json |
toJson(JsonWriter jsonWriter) |
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
fromJson
public static WebhookNotification fromJson(JsonReader jsonReader)
Reads an instance of WebhookNotification from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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