![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.network.models.EffectiveSecurityRuleProtocol 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.network.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The network protocol this rule applies to.
*/
public final class EffectiveSecurityRuleProtocol extends ExpandableStringEnum {
/**
* Static value Tcp for EffectiveSecurityRuleProtocol.
*/
public static final EffectiveSecurityRuleProtocol TCP = fromString("Tcp");
/**
* Static value Udp for EffectiveSecurityRuleProtocol.
*/
public static final EffectiveSecurityRuleProtocol UDP = fromString("Udp");
/**
* Static value All for EffectiveSecurityRuleProtocol.
*/
public static final EffectiveSecurityRuleProtocol ALL = fromString("All");
/**
* Creates a new instance of EffectiveSecurityRuleProtocol value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public EffectiveSecurityRuleProtocol() {
}
/**
* Creates or finds a EffectiveSecurityRuleProtocol from its string representation.
*
* @param name a name to look for.
* @return the corresponding EffectiveSecurityRuleProtocol.
*/
public static EffectiveSecurityRuleProtocol fromString(String name) {
return fromString(name, EffectiveSecurityRuleProtocol.class);
}
/**
* Gets known EffectiveSecurityRuleProtocol values.
*
* @return known EffectiveSecurityRuleProtocol values.
*/
public static Collection values() {
return values(EffectiveSecurityRuleProtocol.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy