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 ExpressRoutePeeringState.
/** * Defines values for ExpressRoutePeeringState. */
public final class ExpressRoutePeeringState extends ExpandableStringEnum<ExpressRoutePeeringState> {
Static value Disabled for ExpressRoutePeeringState.
/** Static value Disabled for ExpressRoutePeeringState. */
public static final ExpressRoutePeeringState DISABLED = fromString("Disabled");
Static value Enabled for ExpressRoutePeeringState.
/** Static value Enabled for ExpressRoutePeeringState. */
public static final ExpressRoutePeeringState ENABLED = fromString("Enabled");
Creates or finds a ExpressRoutePeeringState from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding ExpressRoutePeeringState
/** * Creates or finds a ExpressRoutePeeringState from its string representation. * @param name a name to look for * @return the corresponding ExpressRoutePeeringState */
@JsonCreator public static ExpressRoutePeeringState fromString(String name) { return fromString(name, ExpressRoutePeeringState.class); }
Returns:known ExpressRoutePeeringState values
/** * @return known ExpressRoutePeeringState values */
public static Collection<ExpressRoutePeeringState> values() { return values(ExpressRoutePeeringState.class); } }