Class SessionAffinityEnabledState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SessionAffinityEnabledState>
com.azure.resourcemanager.frontdoor.models.SessionAffinityEnabledState
public final class SessionAffinityEnabledState
extends com.azure.core.util.ExpandableStringEnum<SessionAffinityEnabledState>
Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SessionAffinityEnabledState
Static value Disabled for SessionAffinityEnabledState.static final SessionAffinityEnabledState
Static value Enabled for SessionAffinityEnabledState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SessionAffinityEnabledState
fromString
(String name) Creates or finds a SessionAffinityEnabledState from its string representation.values()
Gets known SessionAffinityEnabledState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for SessionAffinityEnabledState. -
DISABLED
Static value Disabled for SessionAffinityEnabledState.
-
-
Constructor Details
-
SessionAffinityEnabledState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of SessionAffinityEnabledState value.
-
-
Method Details
-
fromString
Creates or finds a SessionAffinityEnabledState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SessionAffinityEnabledState.
-
values
Gets known SessionAffinityEnabledState values.- Returns:
- known SessionAffinityEnabledState values.
-
fromString(String)
factory method.