EndpointStatus Class

public final class EndpointStatus
extends ExpandableStringEnum<EndpointStatus>

The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.

Field Summary

Modifier and Type Field and Description
static final EndpointStatus DISABLED

Static value Disabled for EndpointStatus.

static final EndpointStatus ENABLED

Static value Enabled for EndpointStatus.

Constructor Summary

Constructor Description
EndpointStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EndpointStatus value.

Method Summary

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

Creates or finds a EndpointStatus from its string representation.

static Collection<EndpointStatus> values()

Gets known EndpointStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final EndpointStatus DISABLED

Static value Disabled for EndpointStatus.

ENABLED

public static final EndpointStatus ENABLED

Static value Enabled for EndpointStatus.

Constructor Details

EndpointStatus

@Deprecated
public EndpointStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EndpointStatus value.

Method Details

fromString

public static EndpointStatus fromString(String name)

Creates or finds a EndpointStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EndpointStatus.

values

public static Collection values()

Gets known EndpointStatus values.

Returns:

known EndpointStatus values.

Applies to