SecurityRuleProtocol Class

  • java.lang.Object
    • com.microsoft.azure.management.network.SecurityRuleProtocol

public class SecurityRuleProtocol

Defines values for SecurityRuleProtocol.

Field Summary

Modifier and Type Field and Description
final SecurityRuleProtocol ASTERISK

Static value * for SecurityRuleProtocol.

final SecurityRuleProtocol TCP

Static value Tcp for SecurityRuleProtocol.

final SecurityRuleProtocol UDP

Static value Udp for SecurityRuleProtocol.

Constructor Summary

Constructor Description
SecurityRuleProtocol(String value)

Creates a custom value for SecurityRuleProtocol.

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
int hashCode()
String toString()

Field Details

ASTERISK

public static final SecurityRuleProtocol ASTERISK= new SecurityRuleProtocol("*")

Static value * for SecurityRuleProtocol.

TCP

public static final SecurityRuleProtocol TCP= new SecurityRuleProtocol("Tcp")

Static value Tcp for SecurityRuleProtocol.

UDP

public static final SecurityRuleProtocol UDP= new SecurityRuleProtocol("Udp")

Static value Udp for SecurityRuleProtocol.

Constructor Details

SecurityRuleProtocol

public SecurityRuleProtocol(String value)

Creates a custom value for SecurityRuleProtocol.

Parameters:

value - the custom value

Method Details

equals

public boolean equals(Object obj)

Parameters:

obj

hashCode

public int hashCode()

toString

public String toString()

Applies to