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

    /** Static value SingleLayer_720p_H264_AAC for EncoderSystemPresetType. */
    public static final EncoderSystemPresetType SINGLE_LAYER_720P_H264_AAC = fromString("SingleLayer_720p_H264_AAC");

    /** Static value SingleLayer_1080p_H264_AAC for EncoderSystemPresetType. */
    public static final EncoderSystemPresetType SINGLE_LAYER_1080P_H264_AAC = fromString("SingleLayer_1080p_H264_AAC");

    /** Static value SingleLayer_2160p_H264_AAC for EncoderSystemPresetType. */
    public static final EncoderSystemPresetType SINGLE_LAYER_2160P_H264_AAC = fromString("SingleLayer_2160p_H264_AAC");

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

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