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