SecondaryInstanceType Class

public final class SecondaryInstanceType
extends ExpandableStringEnum<SecondaryInstanceType>

Type of the geo-secondary instance. Set 'Standby' if the instance is used as a DR option only.

Field Summary

Modifier and Type Field and Description
static final SecondaryInstanceType GEO

Geo.

static final SecondaryInstanceType STANDBY

Standby.

Constructor Summary

Constructor Description
SecondaryInstanceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecondaryInstanceType value.

Method Summary

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

Creates or finds a SecondaryInstanceType from its string representation.

static Collection<SecondaryInstanceType> values()

Gets known SecondaryInstanceType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GEO

public static final SecondaryInstanceType GEO

Geo.

STANDBY

public static final SecondaryInstanceType STANDBY

Standby.

Constructor Details

SecondaryInstanceType

@Deprecated
public SecondaryInstanceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecondaryInstanceType value.

Method Details

fromString

public static SecondaryInstanceType fromString(String name)

Creates or finds a SecondaryInstanceType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecondaryInstanceType.

values

public static Collection<SecondaryInstanceType> values()

Gets known SecondaryInstanceType values.

Returns:

known SecondaryInstanceType values.

Applies to