All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.dataprotection.models.AlertsState Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for DataProtection Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure Data Protection service. Package tag package-2024-04.

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.dataprotection.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Defines values for AlertsState.
 */
public final class AlertsState extends ExpandableStringEnum {
    /**
     * Static value Enabled for AlertsState.
     */
    public static final AlertsState ENABLED = fromString("Enabled");

    /**
     * Static value Disabled for AlertsState.
     */
    public static final AlertsState DISABLED = fromString("Disabled");

    /**
     * Creates a new instance of AlertsState value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AlertsState() {
    }

    /**
     * Creates or finds a AlertsState from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding AlertsState.
     */
    public static AlertsState fromString(String name) {
        return fromString(name, AlertsState.class);
    }

    /**
     * Gets known AlertsState values.
     * 
     * @return known AlertsState values.
     */
    public static Collection values() {
        return values(AlertsState.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy