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 Details

    • DEFAULT

      public static final ThreatProtectionName DEFAULT
      Static value Default for ThreatProtectionName.
  • Constructor Details

    • ThreatProtectionName

      @Deprecated public ThreatProtectionName()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of ThreatProtectionName value.
  • Method Details

    • fromString

      public static ThreatProtectionName fromString(String name)
      Creates or finds a ThreatProtectionName from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding ThreatProtectionName.
    • values

      public static Collection<ThreatProtectionName> values()
      Gets known ThreatProtectionName values.
      Returns:
      known ThreatProtectionName values.