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

com.azure.resourcemanager.keyvault.models.DeletionRecoveryLevel Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Key Vault Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

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.keyvault.models;

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

/**
 * The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be
 * permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention
 * interval.
 */
public final class DeletionRecoveryLevel extends ExpandableStringEnum {
    /**
     * Static value Purgeable for DeletionRecoveryLevel.
     */
    public static final DeletionRecoveryLevel PURGEABLE = fromString("Purgeable");

    /**
     * Static value Recoverable+Purgeable for DeletionRecoveryLevel.
     */
    public static final DeletionRecoveryLevel RECOVERABLE_PURGEABLE = fromString("Recoverable+Purgeable");

    /**
     * Static value Recoverable for DeletionRecoveryLevel.
     */
    public static final DeletionRecoveryLevel RECOVERABLE = fromString("Recoverable");

    /**
     * Static value Recoverable+ProtectedSubscription for DeletionRecoveryLevel.
     */
    public static final DeletionRecoveryLevel RECOVERABLE_PROTECTED_SUBSCRIPTION
        = fromString("Recoverable+ProtectedSubscription");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy