SessionAffinityEnabledState Class

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 SessionAffinityEnabledState DISABLED

Static value Disabled for SessionAffinityEnabledState.

static final SessionAffinityEnabledState ENABLED

Static value Enabled for SessionAffinityEnabledState.

Constructor Summary

Constructor Description
SessionAffinityEnabledState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SessionAffinityEnabledState value.

Method Summary

Modifier and Type Method and Description
static SessionAffinityEnabledState fromString(String name)

Creates or finds a SessionAffinityEnabledState from its string representation.

static Collection<SessionAffinityEnabledState> values()

Gets known SessionAffinityEnabledState values.

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

Use the fromString(String name) 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 values()

Gets known SessionAffinityEnabledState values.

Returns:

known SessionAffinityEnabledState values.

Applies to