// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.videoanalyzer.models;

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

/** Defines values for AccessPolicyRole. */
public final class AccessPolicyRole extends ExpandableStringEnum<AccessPolicyRole> {
    /** Static value Reader for AccessPolicyRole. */
    public static final AccessPolicyRole READER = fromString("Reader");

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

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