Bypass Class

public final class Bypass
extends ExpandableStringEnum<Bypass>

Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics.

Field Summary

Modifier and Type Field and Description
static final Bypass AZURE_SERVICES

Static value AzureServices for Bypass.

static final Bypass LOGGING

Static value Logging for Bypass.

static final Bypass METRICS

Static value Metrics for Bypass.

static final Bypass NONE

Static value None for Bypass.

Constructor Summary

Constructor Description
Bypass()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Bypass value.

Method Summary

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

Creates or finds a Bypass from its string representation.

static Collection<Bypass> values()

Gets known Bypass values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_SERVICES

public static final Bypass AZURE_SERVICES

Static value AzureServices for Bypass.

LOGGING

public static final Bypass LOGGING

Static value Logging for Bypass.

METRICS

public static final Bypass METRICS

Static value Metrics for Bypass.

NONE

public static final Bypass NONE

Static value None for Bypass.

Constructor Details

Bypass

@Deprecated
public Bypass()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Bypass value.

Method Details

fromString

public static Bypass fromString(String name)

Creates or finds a Bypass from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Bypass.

values

public static Collection values()

Gets known Bypass values.

Returns:

known Bypass values.

Applies to