IPVersion Class
- java.
lang. Object - com.
microsoft. azure. management. compute. IPVersion
- com.
public class IPVersion
Defines values for IPVersion.
Field Summary
Modifier and Type | Field and Description |
---|---|
final IPVersion |
IPV4
Static value IPv4 for IPVersion. |
final IPVersion |
IPV6
Static value IPv6 for IPVersion. |
Constructor Summary
Constructor | Description |
---|---|
IPVersion(String value) |
Creates a custom value for IPVersion. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object obj) |
int | hashCode() |
String | toString() |
Field Details
IPV4
public static final IPVersion IPV4= new IPVersion("IPv4")
Static value IPv4 for IPVersion.
IPV6
public static final IPVersion IPV6= new IPVersion("IPv6")
Static value IPv6 for IPVersion.
Constructor Details
IPVersion
public IPVersion(String value)
Creates a custom value for IPVersion.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java