LoadDistribution Class

public final class LoadDistribution
extends ExpandableStringEnum<LoadDistribution>

The load distribution policy for this rule.

Field Summary

Modifier and Type Field and Description
static final LoadDistribution DEFAULT

Static value Default for LoadDistribution.

static final LoadDistribution SOURCE_IP

Static value SourceIP for LoadDistribution.

static final LoadDistribution SOURCE_IPPROTOCOL

Static value SourceIPProtocol for LoadDistribution.

Constructor Summary

Constructor Description
LoadDistribution()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LoadDistribution value.

Method Summary

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

Creates or finds a LoadDistribution from its string representation.

static Collection<LoadDistribution> values()

Gets known LoadDistribution values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final LoadDistribution DEFAULT

Static value Default for LoadDistribution.

SOURCE_IP

public static final LoadDistribution SOURCE_IP

Static value SourceIP for LoadDistribution.

SOURCE_IPPROTOCOL

public static final LoadDistribution SOURCE_IPPROTOCOL

Static value SourceIPProtocol for LoadDistribution.

Constructor Details

LoadDistribution

@Deprecated
public LoadDistribution()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LoadDistribution value.

Method Details

fromString

public static LoadDistribution fromString(String name)

Creates or finds a LoadDistribution from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LoadDistribution.

values

public static Collection values()

Gets known LoadDistribution values.

Returns:

known LoadDistribution values.

Applies to