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 Details

  • Constructor Details

    • SessionAffinityEnabledState

      @Deprecated public SessionAffinityEnabledState()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding SessionAffinityEnabledState.
    • values

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