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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ForwardingProtocolStatic value HttpOnly for ForwardingProtocol.static final ForwardingProtocolStatic value HttpsOnly for ForwardingProtocol.static final ForwardingProtocolStatic value MatchRequest for ForwardingProtocol. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ForwardingProtocolfromString(String name) Creates or finds a ForwardingProtocol from its string representation.static Collection<ForwardingProtocol> values()Gets known ForwardingProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
HTTP_ONLY
Static value HttpOnly for ForwardingProtocol. -
HTTPS_ONLY
Static value HttpsOnly for ForwardingProtocol. -
MATCH_REQUEST
Static value MatchRequest for ForwardingProtocol.
-
-
Constructor Details
-
ForwardingProtocol
Deprecated.Use thefromString(String)factory method.Creates a new instance of ForwardingProtocol value.
-
-
Method Details
-
fromString
Creates or finds a ForwardingProtocol from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ForwardingProtocol.
-
values
Gets known ForwardingProtocol values.- Returns:
- known ForwardingProtocol values.
-
fromString(String)factory method.