Geo Class

public final class Geo
extends ExpandableStringEnum<Geo>

The Geo for CIDR advertising. Should be an Geo code.

Field Summary

Modifier and Type Field and Description
static final Geo AFRI

Static value AFRI for Geo.

static final Geo APAC

Static value APAC for Geo.

static final Geo AQ

Static value AQ for Geo.

static final Geo EURO

Static value EURO for Geo.

static final Geo GLOBAL

Static value GLOBAL for Geo.

static final Geo LATAM

Static value LATAM for Geo.

static final Geo ME

Static value ME for Geo.

static final Geo NAM

Static value NAM for Geo.

static final Geo OCEANIA

Static value OCEANIA for Geo.

Constructor Summary

Constructor Description
Geo()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Geo value.

Method Summary

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

Creates or finds a Geo from its string representation.

static Collection<Geo> values()

Gets known Geo values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AFRI

public static final Geo AFRI

Static value AFRI for Geo.

APAC

public static final Geo APAC

Static value APAC for Geo.

AQ

public static final Geo AQ

Static value AQ for Geo.

EURO

public static final Geo EURO

Static value EURO for Geo.

GLOBAL

public static final Geo GLOBAL

Static value GLOBAL for Geo.

LATAM

public static final Geo LATAM

Static value LATAM for Geo.

ME

public static final Geo ME

Static value ME for Geo.

NAM

public static final Geo NAM

Static value NAM for Geo.

OCEANIA

public static final Geo OCEANIA

Static value OCEANIA for Geo.

Constructor Details

Geo

@Deprecated
public Geo()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Geo value.

Method Details

fromString

public static Geo fromString(String name)

Creates or finds a Geo from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Geo.

values

public static Collection values()

Gets known Geo values.

Returns:

known Geo values.

Applies to