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

package com.azure.resourcemanager.containerregistry.models;

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

/** Defines values for SecretObjectType. */
public final class SecretObjectType extends ExpandableStringEnum<SecretObjectType> {
    /** Static value Opaque for SecretObjectType. */
    public static final SecretObjectType OPAQUE = fromString("Opaque");

    /** Static value Vaultsecret for SecretObjectType. */
    public static final SecretObjectType VAULTSECRET = fromString("Vaultsecret");

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

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