Class RedirectType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<RedirectType>
com.azure.resourcemanager.cdn.models.RedirectType

public final class RedirectType extends com.azure.core.util.ExpandableStringEnum<RedirectType>
The redirect type the rule will use when redirecting traffic.
  • Field Details

    • MOVED

      public static final RedirectType MOVED
      Static value Moved for RedirectType.
    • FOUND

      public static final RedirectType FOUND
      Static value Found for RedirectType.
    • TEMPORARY_REDIRECT

      public static final RedirectType TEMPORARY_REDIRECT
      Static value TemporaryRedirect for RedirectType.
    • PERMANENT_REDIRECT

      public static final RedirectType PERMANENT_REDIRECT
      Static value PermanentRedirect for RedirectType.
  • Constructor Details

    • RedirectType

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

    • fromString

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

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