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

com.azure.resourcemanager.storage.models.ResourceAssociationAccessMode Maven / Gradle / Ivy

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

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

/**
 * Access Mode of the resource association.
 */
public final class ResourceAssociationAccessMode extends ExpandableStringEnum {
    /**
     * Static value Enforced for ResourceAssociationAccessMode.
     */
    public static final ResourceAssociationAccessMode ENFORCED = fromString("Enforced");

    /**
     * Static value Learning for ResourceAssociationAccessMode.
     */
    public static final ResourceAssociationAccessMode LEARNING = fromString("Learning");

    /**
     * Static value Audit for ResourceAssociationAccessMode.
     */
    public static final ResourceAssociationAccessMode AUDIT = fromString("Audit");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy