Class ForwardingProtocol

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ForwardingProtocol>
com.azure.resourcemanager.cdn.models.ForwardingProtocol
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class ForwardingProtocol extends com.azure.core.util.ExpandableStringEnum<ForwardingProtocol>
Protocol this rule will use when forwarding traffic to backends.
  • Field Details

    • HTTP_ONLY

      public static final ForwardingProtocol HTTP_ONLY
      Static value HttpOnly for ForwardingProtocol.
    • HTTPS_ONLY

      public static final ForwardingProtocol HTTPS_ONLY
      Static value HttpsOnly for ForwardingProtocol.
    • MATCH_REQUEST

      public static final ForwardingProtocol MATCH_REQUEST
      Static value MatchRequest for ForwardingProtocol.
  • Constructor Details

    • ForwardingProtocol

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

    • fromString

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

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