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.
/** * 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.
/** * Defines values for TrafficRoutingMethod. */
public final class TrafficRoutingMethod extends ExpandableStringEnum<TrafficRoutingMethod> {
Static value Performance for TrafficRoutingMethod.
/** Static value Performance for TrafficRoutingMethod. */
public static final TrafficRoutingMethod PERFORMANCE = fromString("Performance");
Static value Priority for TrafficRoutingMethod.
/** Static value Priority for TrafficRoutingMethod. */
public static final TrafficRoutingMethod PRIORITY = fromString("Priority");
Static value Weighted for TrafficRoutingMethod.
/** Static value Weighted for TrafficRoutingMethod. */
public static final TrafficRoutingMethod WEIGHTED = fromString("Weighted");
Static value Geographic for TrafficRoutingMethod.
/** Static value Geographic for TrafficRoutingMethod. */
public static final TrafficRoutingMethod GEOGRAPHIC = fromString("Geographic");
Static value MultiValue for TrafficRoutingMethod.
/** Static value MultiValue for TrafficRoutingMethod. */
public static final TrafficRoutingMethod MULTI_VALUE = fromString("MultiValue");
Static value Subnet for TrafficRoutingMethod.
/** Static value Subnet for TrafficRoutingMethod. */
public static final TrafficRoutingMethod SUBNET = fromString("Subnet");
Creates or finds a TrafficRoutingMethod from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding TrafficRoutingMethod
/** * 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); }
Returns:known TrafficRoutingMethod values
/** * @return known TrafficRoutingMethod values */
public static Collection<TrafficRoutingMethod> values() { return values(TrafficRoutingMethod.class); } }