Condividi tramite


LoadBalancerScope Class

public final class LoadBalancerScope
extends ExpandableStringEnum<LoadBalancerScope>

Indicates the scope of the load balancer: external (Public) or internal (Private).

Field Summary

Modifier and Type Field and Description
static final LoadBalancerScope PRIVATE

Static value Private for LoadBalancerScope.

static final LoadBalancerScope PUBLIC

Static value Public for LoadBalancerScope.

Constructor Summary

Constructor Description
LoadBalancerScope()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LoadBalancerScope value.

Method Summary

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

Creates or finds a LoadBalancerScope from its string representation.

static Collection<LoadBalancerScope> values()

Gets known LoadBalancerScope values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PRIVATE

public static final LoadBalancerScope PRIVATE

Static value Private for LoadBalancerScope.

PUBLIC

public static final LoadBalancerScope PUBLIC

Static value Public for LoadBalancerScope.

Constructor Details

LoadBalancerScope

@Deprecated
public LoadBalancerScope()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LoadBalancerScope value.

Method Details

fromString

public static LoadBalancerScope fromString(String name)

Creates or finds a LoadBalancerScope from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LoadBalancerScope.

values

public static Collection<LoadBalancerScope> values()

Gets known LoadBalancerScope values.

Returns:

known LoadBalancerScope values.

Applies to