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

com.azure.resourcemanager.security.models.Effect 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.security.models;

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

/**
 * Expected effect of this assignment (Audit/Exempt/Attest).
 */
public final class Effect extends ExpandableStringEnum {
    /**
     * Static value Audit for Effect.
     */
    public static final Effect AUDIT = fromString("Audit");

    /**
     * Static value Exempt for Effect.
     */
    public static final Effect EXEMPT = fromString("Exempt");

    /**
     * Static value Attest for Effect.
     */
    public static final Effect ATTEST = fromString("Attest");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy