// 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 AccessPolicyEccAlgo. */
public final class AccessPolicyEccAlgo extends ExpandableStringEnum<AccessPolicyEccAlgo> {
    /** Static value ES256 for AccessPolicyEccAlgo. */
    public static final AccessPolicyEccAlgo ES256 = fromString("ES256");

    /** Static value ES384 for AccessPolicyEccAlgo. */
    public static final AccessPolicyEccAlgo ES384 = fromString("ES384");

    /** Static value ES512 for AccessPolicyEccAlgo. */
    public static final AccessPolicyEccAlgo ES512 = fromString("ES512");

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

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