IPVersion Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. management. network. IPVersion
- com.
- com.
public final class IPVersion
extends com.microsoft.rest.ExpandableStringEnum<IPVersion>
Defines values for IPVersion.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final IPVersion |
IPV4
Static value IPv4 for IPVersion. |
static final IPVersion |
IPV6
Static value IPv6 for IPVersion. |
Constructor Summary
Constructor | Description | |
---|---|---|
IPVersion() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static IPVersion |
fromString(String name)
Creates or finds a IPVersion from its string representation. |
static java.util.Collection<IPVersion> | values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
com.microsoft.rest.ExpandableStringEnum.<T>fromString
com.microsoft.rest.ExpandableStringEnum.<T>values
com.microsoft.rest.ExpandableStringEnum.equals
com.microsoft.rest.ExpandableStringEnum.hashCode
com.microsoft.rest.ExpandableStringEnum.toString
com.microsoft.rest.ExpandableStringEnum.withNameValue
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Field Details
IPV4
public static final IPVersion IPV4
Static value IPv4 for IPVersion.
IPV6
public static final IPVersion IPV6
Static value IPv6 for IPVersion.
Constructor Details
IPVersion
public IPVersion()
Method Details
fromString
public static IPVersion fromString(String name)
Creates or finds a IPVersion from its string representation.
Parameters:
name
- a name to look for
Returns:
the corresponding IPVersion
values
public static Collection
Returns:
known IPVersion values
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java