NotificationChannelInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devtestlabs. fluent. models. NotificationChannelInner
- com.
- com.
- com.
public final class NotificationChannelInner
extends Resource
A notification.
Constructor Summary
Constructor | Description |
---|---|
NotificationChannelInner() |
Creates an instance of Notification |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
createdDate()
Get the created |
String |
description()
Get the description property: Description of notification. |
String |
emailRecipient()
Get the email |
List<Event> |
events()
Get the events property: The list of event for which this notification is enabled. |
String |
notificationLocale()
Get the notification |
String |
provisioningState()
Get the provisioning |
String |
uniqueIdentifier()
Get the unique |
void |
validate()
Validates the instance. |
String |
webhookUrl()
Get the webhook |
Notification |
withDescription(String description)
Set the description property: Description of notification. |
Notification |
withEmailRecipient(String emailRecipient)
Set the email |
Notification |
withEvents(List<Event> events)
Set the events property: The list of event for which this notification is enabled. |
Notification |
withLocation(String location) |
Notification |
withNotificationLocale(String notificationLocale)
Set the notification |
Notification |
withTags(Map<String,String> tags) |
Notification |
withWebhookUrl(String webhookUrl)
Set the webhook |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
NotificationChannelInner
public NotificationChannelInner()
Creates an instance of NotificationChannelInner class.
Method Details
createdDate
public OffsetDateTime createdDate()
Get the createdDate property: The creation date of the notification channel.
Returns:
description
public String description()
Get the description property: Description of notification.
Returns:
emailRecipient
public String emailRecipient()
Get the emailRecipient property: The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
Returns:
events
public List
Get the events property: The list of event for which this notification is enabled.
Returns:
notificationLocale
public String notificationLocale()
Get the notificationLocale property: The locale to use when sending a notification (fallback for unsupported languages is EN).
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning status of the resource.
Returns:
uniqueIdentifier
public String uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
validate
public void validate()
Validates the instance.
webhookUrl
public String webhookUrl()
Get the webhookUrl property: The webhook URL to send notifications to.
Returns:
withDescription
public NotificationChannelInner withDescription(String description)
Set the description property: Description of notification.
Parameters:
Returns:
withEmailRecipient
public 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).
Parameters:
Returns:
withEvents
public NotificationChannelInner withEvents(List
Set the events property: The list of event for which this notification is enabled.
Parameters:
Returns:
withLocation
public NotificationChannelInner withLocation(String location)
Overrides:
NotificationChannelInner.withLocation(String location)Parameters:
withNotificationLocale
public NotificationChannelInner withNotificationLocale(String notificationLocale)
Set the notificationLocale property: The locale to use when sending a notification (fallback for unsupported languages is EN).
Parameters:
Returns:
withTags
public NotificationChannelInner withTags(Map
Overrides:
NotificationChannelInner.withTags(Map<String,String> tags)Parameters:
withWebhookUrl
public NotificationChannelInner withWebhookUrl(String webhookUrl)
Set the webhookUrl property: The webhook URL to send notifications to.
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