Class ApplicationGatewayCookieBasedAffinity
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ApplicationGatewayCookieBasedAffinity>
com.azure.resourcemanager.network.models.ApplicationGatewayCookieBasedAffinity
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ApplicationGatewayCookieBasedAffinity
extends com.azure.core.util.ExpandableStringEnum<ApplicationGatewayCookieBasedAffinity>
Cookie based affinity.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ApplicationGatewayCookieBasedAffinity
Static value Disabled for ApplicationGatewayCookieBasedAffinity.static final ApplicationGatewayCookieBasedAffinity
Static value Enabled for ApplicationGatewayCookieBasedAffinity. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String name) Creates or finds a ApplicationGatewayCookieBasedAffinity from its string representation.values()
Gets known ApplicationGatewayCookieBasedAffinity values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for ApplicationGatewayCookieBasedAffinity. -
DISABLED
Static value Disabled for ApplicationGatewayCookieBasedAffinity.
-
-
Constructor Details
-
ApplicationGatewayCookieBasedAffinity
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ApplicationGatewayCookieBasedAffinity value.
-
-
Method Details
-
fromString
Creates or finds a ApplicationGatewayCookieBasedAffinity from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ApplicationGatewayCookieBasedAffinity.
-
values
Gets known ApplicationGatewayCookieBasedAffinity values.- Returns:
- known ApplicationGatewayCookieBasedAffinity values.
-
fromString(String)
factory method.