PublicNetworkAccessFlag Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. servicebus. models. PublicNetworkAccessFlag
- com.
- com.
public final class PublicNetworkAccessFlag
extends ExpandableStringEnum<PublicNetworkAccessFlag>
This determines if traffic is allowed over public network. By default it is enabled.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Public |
DISABLED
Static value Disabled for Public |
static final
Public |
ENABLED
Static value Enabled for Public |
Constructor Summary
Constructor | Description |
---|---|
PublicNetworkAccessFlag() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Public |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Public |
fromString(String name)
Creates or finds a Public |
static
Collection<Public |
values()
Gets known Public |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final PublicNetworkAccessFlag DISABLED
Static value Disabled for PublicNetworkAccessFlag.
ENABLED
public static final PublicNetworkAccessFlag ENABLED
Static value Enabled for PublicNetworkAccessFlag.
Constructor Details
PublicNetworkAccessFlag
@Deprecated
public PublicNetworkAccessFlag()
Deprecated
Creates a new instance of PublicNetworkAccessFlag value.
Method Details
fromString
public static PublicNetworkAccessFlag fromString(String name)
Creates or finds a PublicNetworkAccessFlag from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known PublicNetworkAccessFlag values.
Returns:
Applies to
Azure SDK for Java