com.azure.resourcemanager.authorization.models.NotificationDeliveryMechanism Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.authorization.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The type of notification.
*/
public final class NotificationDeliveryMechanism extends ExpandableStringEnum {
/**
* Static value Email for NotificationDeliveryMechanism.
*/
public static final NotificationDeliveryMechanism EMAIL = fromString("Email");
/**
* Creates a new instance of NotificationDeliveryMechanism value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public NotificationDeliveryMechanism() {
}
/**
* Creates or finds a NotificationDeliveryMechanism from its string representation.
*
* @param name a name to look for.
* @return the corresponding NotificationDeliveryMechanism.
*/
public static NotificationDeliveryMechanism fromString(String name) {
return fromString(name, NotificationDeliveryMechanism.class);
}
/**
* Gets known NotificationDeliveryMechanism values.
*
* @return known NotificationDeliveryMechanism values.
*/
public static Collection values() {
return values(NotificationDeliveryMechanism.class);
}
}