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

package com.azure.resourcemanager.paloaltonetworks.ngfw.models;

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

/** Log options possible. */
public final class LogOption extends ExpandableStringEnum<LogOption> {
    /** Static value SAME_DESTINATION for LogOption. */
    public static final LogOption SAME_DESTINATION = fromString("SAME_DESTINATION");

    /** Static value INDIVIDUAL_DESTINATION for LogOption. */
    public static final LogOption INDIVIDUAL_DESTINATION = fromString("INDIVIDUAL_DESTINATION");

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

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

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