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