Class DefaultAction

java.lang.Object
com.azure.core.util.ExpandableStringEnum<DefaultAction>
com.azure.resourcemanager.mediaservices.models.DefaultAction

public final class DefaultAction extends com.azure.core.util.ExpandableStringEnum<DefaultAction>
The behavior for IP access control in Key Delivery.
  • Field Details

    • ALLOW

      public static final DefaultAction ALLOW
      Static value Allow for DefaultAction.
    • DENY

      public static final DefaultAction DENY
      Static value Deny for DefaultAction.
  • Constructor Details

    • DefaultAction

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

    • fromString

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

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