com.azure.resourcemanager.servicefabricmanagedclusters.models.Direction Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.servicefabricmanagedclusters.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Network security rule direction.
*/
public final class Direction extends ExpandableStringEnum {
/**
* Static value inbound for Direction.
*/
public static final Direction INBOUND = fromString("inbound");
/**
* Static value outbound for Direction.
*/
public static final Direction OUTBOUND = fromString("outbound");
/**
* Creates a new instance of Direction value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public Direction() {
}
/**
* Creates or finds a Direction from its string representation.
*
* @param name a name to look for.
* @return the corresponding Direction.
*/
public static Direction fromString(String name) {
return fromString(name, Direction.class);
}
/**
* Gets known Direction values.
*
* @return known Direction values.
*/
public static Collection values() {
return values(Direction.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy