Package com.oracle.bmc.integration.model
Enum ExtendDataRetentionDetails.DataRetentionPeriod
- java.lang.Object
-
- java.lang.Enum<ExtendDataRetentionDetails.DataRetentionPeriod>
-
- com.oracle.bmc.integration.model.ExtendDataRetentionDetails.DataRetentionPeriod
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ExtendDataRetentionDetails.DataRetentionPeriod>
- Enclosing class:
- ExtendDataRetentionDetails
public static enum ExtendDataRetentionDetails.DataRetentionPeriod extends Enum<ExtendDataRetentionDetails.DataRetentionPeriod> implements BmcEnum
Data retention period set for given integration instance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtendDataRetentionDetails.DataRetentionPeriod
create(String key)
String
getValue()
static ExtendDataRetentionDetails.DataRetentionPeriod
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExtendDataRetentionDetails.DataRetentionPeriod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Months1
public static final ExtendDataRetentionDetails.DataRetentionPeriod Months1
-
Months3
public static final ExtendDataRetentionDetails.DataRetentionPeriod Months3
-
Months6
public static final ExtendDataRetentionDetails.DataRetentionPeriod Months6
-
-
Method Detail
-
values
public static ExtendDataRetentionDetails.DataRetentionPeriod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExtendDataRetentionDetails.DataRetentionPeriod c : ExtendDataRetentionDetails.DataRetentionPeriod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtendDataRetentionDetails.DataRetentionPeriod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static ExtendDataRetentionDetails.DataRetentionPeriod create(String key)
-
-