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

com.azure.resourcemanager.recoveryservicesbackup.models.HealthStatus Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for RecoveryServicesBackup 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 RecoveryServices Backup service. Package tag package-2024-04.

There is a newer version: 1.5.0
Show 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.recoveryservicesbackup.models;

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

/**
 * Health status of protected item.
 */
public final class HealthStatus extends ExpandableStringEnum {
    /**
     * Static value Passed for HealthStatus.
     */
    public static final HealthStatus PASSED = fromString("Passed");

    /**
     * Static value ActionRequired for HealthStatus.
     */
    public static final HealthStatus ACTION_REQUIRED = fromString("ActionRequired");

    /**
     * Static value ActionSuggested for HealthStatus.
     */
    public static final HealthStatus ACTION_SUGGESTED = fromString("ActionSuggested");

    /**
     * Static value Invalid for HealthStatus.
     */
    public static final HealthStatus INVALID = fromString("Invalid");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy