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

com.azure.resourcemanager.security.models.StatusReason Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for Security Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3.

There is a newer version: 1.0.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.security.models;

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

/**
 * A description of why the `status` has its value.
 */
public final class StatusReason extends ExpandableStringEnum {
    /**
     * Static value Expired for StatusReason.
     */
    public static final StatusReason EXPIRED = fromString("Expired");

    /**
     * Static value UserRequested for StatusReason.
     */
    public static final StatusReason USER_REQUESTED = fromString("UserRequested");

    /**
     * Static value NewerRequestInitiated for StatusReason.
     */
    public static final StatusReason NEWER_REQUEST_INITIATED = fromString("NewerRequestInitiated");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy