public enum DataRetentionTrigger extends java.lang.Enum<DataRetentionTrigger>
| Enum Constant and Description |
|---|
CREATION
Indicates that the retention period is triggered by the creation of a record or entity.
|
LAST_TRANSACTION
Indicates that the retention period is triggered by the last transaction or activity related to a record or entity.
|
TERMINATION
Indicates that the retention period is triggered by the termination of a contract or agreement.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,DataRetentionTrigger> |
VALUE_MAP
An immutable map of data retention trigger value names (in lowercase) to their corresponding
DataRetentionTrigger enum values. |
| Modifier and Type | Method and Description |
|---|---|
static DataRetentionTrigger |
fromValue(java.lang.String value)
Returns the
DataRetentionTrigger associated with the given string representation,
or null if no matching value is found. |
java.lang.String |
getValue()
Returns the string representation of the retention trigger value.
|
static DataRetentionTrigger |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataRetentionTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataRetentionTrigger TERMINATION
public static final DataRetentionTrigger CREATION
public static final DataRetentionTrigger LAST_TRANSACTION
public static final java.util.Map<java.lang.String,DataRetentionTrigger> VALUE_MAP
DataRetentionTrigger enum values.
Used for efficient lookup of data retention trigger values from string representations.public static DataRetentionTrigger[] values()
for (DataRetentionTrigger c : DataRetentionTrigger.values()) System.out.println(c);
public static DataRetentionTrigger valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
public static DataRetentionTrigger fromValue(java.lang.String value)
DataRetentionTrigger associated with the given string representation,
or null if no matching value is found.
The comparison is case-insensitive.value - the string representation of the retention trigger valueDataRetentionTrigger, or null if not foundCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.