Class ThreatProtectionName
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ThreatProtectionName>
com.azure.resourcemanager.postgresqlflexibleserver.models.ThreatProtectionName
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ThreatProtectionName
extends com.azure.core.util.ExpandableStringEnum<ThreatProtectionName>
Defines values for ThreatProtectionName.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ThreatProtectionNameStatic value Default for ThreatProtectionName. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ThreatProtectionNamefromString(String name) Creates or finds a ThreatProtectionName from its string representation.static Collection<ThreatProtectionName> values()Gets known ThreatProtectionName values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DEFAULT
Static value Default for ThreatProtectionName.
-
-
Constructor Details
-
ThreatProtectionName
Deprecated.Use thefromString(String)factory method.Creates a new instance of ThreatProtectionName value.
-
-
Method Details
-
fromString
Creates or finds a ThreatProtectionName from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ThreatProtectionName.
-
values
Gets known ThreatProtectionName values.- Returns:
- known ThreatProtectionName values.
-
fromString(String)factory method.