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.network;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for EffectiveRouteSource.
/**
* Defines values for EffectiveRouteSource.
*/
public final class EffectiveRouteSource extends ExpandableStringEnum<EffectiveRouteSource> {
Static value Unknown for EffectiveRouteSource. /** Static value Unknown for EffectiveRouteSource. */
public static final EffectiveRouteSource UNKNOWN = fromString("Unknown");
Static value User for EffectiveRouteSource. /** Static value User for EffectiveRouteSource. */
public static final EffectiveRouteSource USER = fromString("User");
Static value VirtualNetworkGateway for EffectiveRouteSource. /** Static value VirtualNetworkGateway for EffectiveRouteSource. */
public static final EffectiveRouteSource VIRTUAL_NETWORK_GATEWAY = fromString("VirtualNetworkGateway");
Static value Default for EffectiveRouteSource. /** Static value Default for EffectiveRouteSource. */
public static final EffectiveRouteSource DEFAULT = fromString("Default");
Creates or finds a EffectiveRouteSource from its string representation.
Params: - name – a name to look for
Returns: the corresponding EffectiveRouteSource
/**
* Creates or finds a EffectiveRouteSource from its string representation.
* @param name a name to look for
* @return the corresponding EffectiveRouteSource
*/
@JsonCreator
public static EffectiveRouteSource fromString(String name) {
return fromString(name, EffectiveRouteSource.class);
}
Returns: known EffectiveRouteSource values
/**
* @return known EffectiveRouteSource values
*/
public static Collection<EffectiveRouteSource> values() {
return values(EffectiveRouteSource.class);
}
}