public class NotificationChannelInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
NotificationChannelInner() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
createdDate()
Get the createdDate property: The creation date of the notification channel.
|
String |
description()
Get the description property: Description of notification.
|
String |
emailRecipient()
Get the emailRecipient property: The email recipient to send notifications to (can be a list of semi-colon
separated email addresses).
|
List<Event> |
events()
Get the events property: The list of event for which this notification is enabled.
|
String |
notificationLocale()
Get the notificationLocale property: The locale to use when sending a notification (fallback for unsupported
languages is EN).
|
String |
provisioningState()
Get the provisioningState property: The provisioning status of the resource.
|
String |
uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
void |
validate()
Validates the instance.
|
String |
webhookUrl()
Get the webhookUrl property: The webhook URL to send notifications to.
|
NotificationChannelInner |
withDescription(String description)
Set the description property: Description of notification.
|
NotificationChannelInner |
withEmailRecipient(String emailRecipient)
Set the emailRecipient property: The email recipient to send notifications to (can be a list of semi-colon
separated email addresses).
|
NotificationChannelInner |
withEvents(List<Event> events)
Set the events property: The list of event for which this notification is enabled.
|
NotificationChannelInner |
withLocation(String location) |
NotificationChannelInner |
withNotificationLocale(String notificationLocale)
Set the notificationLocale property: The locale to use when sending a notification (fallback for unsupported
languages is EN).
|
NotificationChannelInner |
withTags(Map<String,String> tags) |
NotificationChannelInner |
withWebhookUrl(String webhookUrl)
Set the webhookUrl property: The webhook URL to send notifications to.
|
public String webhookUrl()
public NotificationChannelInner withWebhookUrl(String webhookUrl)
webhookUrl
- the webhookUrl value to set.public String emailRecipient()
public NotificationChannelInner withEmailRecipient(String emailRecipient)
emailRecipient
- the emailRecipient value to set.public String notificationLocale()
public NotificationChannelInner withNotificationLocale(String notificationLocale)
notificationLocale
- the notificationLocale value to set.public String description()
public NotificationChannelInner withDescription(String description)
description
- the description value to set.public List<Event> events()
public NotificationChannelInner withEvents(List<Event> events)
events
- the events value to set.public OffsetDateTime createdDate()
public String provisioningState()
public String uniqueIdentifier()
public NotificationChannelInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public NotificationChannelInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.