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

package com.azure.resourcemanager.mediaservices.models;

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

/** The Asset encryption format. One of None or MediaStorageEncryption. */
public final class AssetStorageEncryptionFormat extends ExpandableStringEnum<AssetStorageEncryptionFormat> {
    /** Static value None for AssetStorageEncryptionFormat. */
    public static final AssetStorageEncryptionFormat NONE = fromString("None");

    /** Static value MediaStorageClientEncryption for AssetStorageEncryptionFormat. */
    public static final AssetStorageEncryptionFormat MEDIA_STORAGE_CLIENT_ENCRYPTION =
        fromString("MediaStorageClientEncryption");

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

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

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