FreeLimitExhaustionBehavior Class

public final class FreeLimitExhaustionBehavior
extends ExpandableStringEnum<FreeLimitExhaustionBehavior>

Specifies the behavior when monthly free limits are exhausted for the free database. AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month. BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed.

Field Summary

Modifier and Type Field and Description
static final FreeLimitExhaustionBehavior AUTO_PAUSE

AutoPause.

static final FreeLimitExhaustionBehavior BILL_OVER_USAGE

BillOverUsage.

Constructor Summary

Constructor Description
FreeLimitExhaustionBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FreeLimitExhaustionBehavior value.

Method Summary

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

Creates or finds a FreeLimitExhaustionBehavior from its string representation.

static Collection<FreeLimitExhaustionBehavior> values()

Gets known FreeLimitExhaustionBehavior values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTO_PAUSE

public static final FreeLimitExhaustionBehavior AUTO_PAUSE

AutoPause.

BILL_OVER_USAGE

public static final FreeLimitExhaustionBehavior BILL_OVER_USAGE

BillOverUsage.

Constructor Details

FreeLimitExhaustionBehavior

@Deprecated
public FreeLimitExhaustionBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FreeLimitExhaustionBehavior value.

Method Details

fromString

public static FreeLimitExhaustionBehavior fromString(String name)

Creates or finds a FreeLimitExhaustionBehavior from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FreeLimitExhaustionBehavior.

values

public static Collection<FreeLimitExhaustionBehavior> values()

Gets known FreeLimitExhaustionBehavior values.

Returns:

known FreeLimitExhaustionBehavior values.

Applies to