NotificationChannel Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. servicefabric. models. NotificationChannel
- com.
- com.
public final class NotificationChannel
extends ExpandableStringEnum<NotificationChannel>
The notification channel indicates the type of receivers subscribed to the notification, either user or subscription.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Notification |
EMAIL_SUBSCRIPTION
Static value Email |
static final
Notification |
EMAIL_USER
Static value Email |
Constructor Summary
Constructor | Description |
---|---|
NotificationChannel() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Notification |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Notification |
fromString(String name)
Creates or finds a Notification |
static
Collection<Notification |
values()
Gets known Notification |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
EMAIL_SUBSCRIPTION
public static final NotificationChannel EMAIL_SUBSCRIPTION
Static value EmailSubscription for NotificationChannel.
EMAIL_USER
public static final NotificationChannel EMAIL_USER
Static value EmailUser for NotificationChannel.
Constructor Details
NotificationChannel
@Deprecated
public NotificationChannel()
Deprecated
Creates a new instance of NotificationChannel value.
Method Details
fromString
public static NotificationChannel fromString(String name)
Creates or finds a NotificationChannel from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known NotificationChannel values.
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