Class PublicNetworkAccessEnum
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PublicNetworkAccessEnum>
com.azure.resourcemanager.mariadb.models.PublicNetworkAccessEnum
public final class PublicNetworkAccessEnum
extends com.azure.core.util.ExpandableStringEnum<PublicNetworkAccessEnum>
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be
'Enabled' or 'Disabled'.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PublicNetworkAccessEnum
Static value Disabled for PublicNetworkAccessEnum.static final PublicNetworkAccessEnum
Static value Enabled for PublicNetworkAccessEnum. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PublicNetworkAccessEnum
fromString
(String name) Creates or finds a PublicNetworkAccessEnum from its string representation.static Collection<PublicNetworkAccessEnum>
values()
Gets known PublicNetworkAccessEnum values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for PublicNetworkAccessEnum. -
DISABLED
Static value Disabled for PublicNetworkAccessEnum.
-
-
Constructor Details
-
PublicNetworkAccessEnum
Deprecated.Use thefromString(String)
factory method.Creates a new instance of PublicNetworkAccessEnum value.
-
-
Method Details
-
fromString
Creates or finds a PublicNetworkAccessEnum from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PublicNetworkAccessEnum.
-
values
Gets known PublicNetworkAccessEnum values.- Returns:
- known PublicNetworkAccessEnum values.
-
fromString(String)
factory method.