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

com.azure.resourcemanager.recoveryservicesbackup.models.SoftDeleteFeatureState 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.recoveryservicesbackup.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * Soft Delete feature state.
 */
public final class SoftDeleteFeatureState extends ExpandableStringEnum {
    /**
     * Static value Invalid for SoftDeleteFeatureState.
     */
    public static final SoftDeleteFeatureState INVALID = fromString("Invalid");

    /**
     * Static value Enabled for SoftDeleteFeatureState.
     */
    public static final SoftDeleteFeatureState ENABLED = fromString("Enabled");

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

    /**
     * Static value AlwaysON for SoftDeleteFeatureState.
     */
    public static final SoftDeleteFeatureState ALWAYS_ON = fromString("AlwaysON");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy