ZoneRedundancy Class

public final class ZoneRedundancy
extends ExpandableStringEnum<ZoneRedundancy>

Whether or not zone redundancy is enabled for this container registry.

Field Summary

Modifier and Type Field and Description
static final ZoneRedundancy DISABLED

Static value Disabled for ZoneRedundancy.

static final ZoneRedundancy ENABLED

Static value Enabled for ZoneRedundancy.

Constructor Summary

Constructor Description
ZoneRedundancy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ZoneRedundancy value.

Method Summary

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

Creates or finds a ZoneRedundancy from its string representation.

static Collection<ZoneRedundancy> values()

Gets known ZoneRedundancy values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ZoneRedundancy DISABLED

Static value Disabled for ZoneRedundancy.

ENABLED

public static final ZoneRedundancy ENABLED

Static value Enabled for ZoneRedundancy.

Constructor Details

ZoneRedundancy

@Deprecated
public ZoneRedundancy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ZoneRedundancy value.

Method Details

fromString

public static ZoneRedundancy fromString(String name)

Creates or finds a ZoneRedundancy from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ZoneRedundancy.

values

public static Collection values()

Gets known ZoneRedundancy values.

Returns:

known ZoneRedundancy values.

Applies to