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

com.microsoft.azure.management.trafficmanager.TrafficRoutingMethod Maven / Gradle / Ivy

/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.trafficmanager;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
 * Defines values for TrafficRoutingMethod.
 */
public final class TrafficRoutingMethod extends ExpandableStringEnum {
    /** Static value Performance for TrafficRoutingMethod. */
    public static final TrafficRoutingMethod PERFORMANCE = fromString("Performance");

    /** Static value Priority for TrafficRoutingMethod. */
    public static final TrafficRoutingMethod PRIORITY = fromString("Priority");

    /** Static value Weighted for TrafficRoutingMethod. */
    public static final TrafficRoutingMethod WEIGHTED = fromString("Weighted");

    /** Static value Geographic for TrafficRoutingMethod. */
    public static final TrafficRoutingMethod GEOGRAPHIC = fromString("Geographic");

    /** Static value MultiValue for TrafficRoutingMethod. */
    public static final TrafficRoutingMethod MULTI_VALUE = fromString("MultiValue");

    /** Static value Subnet for TrafficRoutingMethod. */
    public static final TrafficRoutingMethod SUBNET = fromString("Subnet");

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy