com.azure.resourcemanager.dataprotection.models.RehydrationStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-dataprotection Show documentation
Show all versions of azure-resourcemanager-dataprotection Show documentation
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 RehydrationStatus.
*/
public final class RehydrationStatus extends ExpandableStringEnum {
/**
* Static value CREATE_IN_PROGRESS for RehydrationStatus.
*/
public static final RehydrationStatus CREATE_IN_PROGRESS = fromString("CREATE_IN_PROGRESS");
/**
* Static value COMPLETED for RehydrationStatus.
*/
public static final RehydrationStatus COMPLETED = fromString("COMPLETED");
/**
* Static value DELETE_IN_PROGRESS for RehydrationStatus.
*/
public static final RehydrationStatus DELETE_IN_PROGRESS = fromString("DELETE_IN_PROGRESS");
/**
* Static value DELETED for RehydrationStatus.
*/
public static final RehydrationStatus DELETED = fromString("DELETED");
/**
* Static value FAILED for RehydrationStatus.
*/
public static final RehydrationStatus FAILED = fromString("FAILED");
/**
* Creates a new instance of RehydrationStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public RehydrationStatus() {
}
/**
* Creates or finds a RehydrationStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding RehydrationStatus.
*/
public static RehydrationStatus fromString(String name) {
return fromString(name, RehydrationStatus.class);
}
/**
* Gets known RehydrationStatus values.
*
* @return known RehydrationStatus values.
*/
public static Collection values() {
return values(RehydrationStatus.class);
}
}