All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.ai.metricsadvisor.implementation.models.Direction Maven / Gradle / Ivy

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

package com.azure.ai.metricsadvisor.implementation.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * value filter direction.
 */
public final class Direction extends ExpandableStringEnum {
    /**
     * Static value Both for Direction.
     */
    public static final Direction BOTH = fromString("Both");

    /**
     * Static value Down for Direction.
     */
    public static final Direction DOWN = fromString("Down");

    /**
     * Static value Up for Direction.
     */
    public static final Direction UP = fromString("Up");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy