SessionAffinityEnabledState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. frontdoor. models. SessionAffinityEnabledState
- com.
- com.
public final class SessionAffinityEnabledState
extends ExpandableStringEnum<SessionAffinityEnabledState>
Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Session |
DISABLED
Static value Disabled for Session |
static final
Session |
ENABLED
Static value Enabled for Session |
Constructor Summary
Constructor | Description |
---|---|
SessionAffinityEnabledState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Session |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Session |
fromString(String name)
Creates or finds a Session |
static
Collection<Session |
values()
Gets known Session |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final SessionAffinityEnabledState DISABLED
Static value Disabled for SessionAffinityEnabledState.
ENABLED
public static final SessionAffinityEnabledState ENABLED
Static value Enabled for SessionAffinityEnabledState.
Constructor Details
SessionAffinityEnabledState
@Deprecated
public SessionAffinityEnabledState()
Deprecated
Creates a new instance of SessionAffinityEnabledState value.
Method Details
fromString
public static SessionAffinityEnabledState fromString(String name)
Creates or finds a SessionAffinityEnabledState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SessionAffinityEnabledState values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for