
com.azure.resourcemanager.recoveryservices.models.SoftDeleteState 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.recoveryservices.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Defines values for SoftDeleteState.
*/
public final class SoftDeleteState extends ExpandableStringEnum {
/**
* Static value Invalid for SoftDeleteState.
*/
public static final SoftDeleteState INVALID = fromString("Invalid");
/**
* Static value Enabled for SoftDeleteState.
*/
public static final SoftDeleteState ENABLED = fromString("Enabled");
/**
* Static value Disabled for SoftDeleteState.
*/
public static final SoftDeleteState DISABLED = fromString("Disabled");
/**
* Static value AlwaysON for SoftDeleteState.
*/
public static final SoftDeleteState ALWAYS_ON = fromString("AlwaysON");
/**
* Creates a new instance of SoftDeleteState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public SoftDeleteState() {
}
/**
* Creates or finds a SoftDeleteState from its string representation.
*
* @param name a name to look for.
* @return the corresponding SoftDeleteState.
*/
public static SoftDeleteState fromString(String name) {
return fromString(name, SoftDeleteState.class);
}
/**
* Gets known SoftDeleteState values.
*
* @return known SoftDeleteState values.
*/
public static Collection values() {
return values(SoftDeleteState.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy