StorageLimitExceededBehavior Class

public final class StorageLimitExceededBehavior
extends ExpandableStringEnum<StorageLimitExceededBehavior>

The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.

Field Summary

Modifier and Type Field and Description
static final StorageLimitExceededBehavior PAUSE_INGRESS

Static value PauseIngress for StorageLimitExceededBehavior.

static final StorageLimitExceededBehavior PURGE_OLD_DATA

Static value PurgeOldData for StorageLimitExceededBehavior.

Constructor Summary

Constructor Description
StorageLimitExceededBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StorageLimitExceededBehavior value.

Method Summary

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

Creates or finds a StorageLimitExceededBehavior from its string representation.

static Collection<StorageLimitExceededBehavior> values()

Gets known StorageLimitExceededBehavior values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PAUSE_INGRESS

public static final StorageLimitExceededBehavior PAUSE_INGRESS

Static value PauseIngress for StorageLimitExceededBehavior.

PURGE_OLD_DATA

public static final StorageLimitExceededBehavior PURGE_OLD_DATA

Static value PurgeOldData for StorageLimitExceededBehavior.

Constructor Details

StorageLimitExceededBehavior

@Deprecated
public StorageLimitExceededBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StorageLimitExceededBehavior value.

Method Details

fromString

public static StorageLimitExceededBehavior fromString(String name)

Creates or finds a StorageLimitExceededBehavior from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StorageLimitExceededBehavior.

values

public static Collection values()

Gets known StorageLimitExceededBehavior values.

Returns:

known StorageLimitExceededBehavior values.

Applies to