Enum TieringConfigurationDetails.PolicyMode
- java.lang.Object
-
- java.lang.Enum<TieringConfigurationDetails.PolicyMode>
-
- com.oracle.bmc.lustrefilestorage.model.TieringConfigurationDetails.PolicyMode
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<TieringConfigurationDetails.PolicyMode>
- Enclosing class:
- TieringConfigurationDetails
public static enum TieringConfigurationDetails.PolicyMode extends Enum<TieringConfigurationDetails.PolicyMode> implements BmcEnum
Whether the service default policy rule or custom policy rules are used.If unspecified, defaults to DEFAULT. When set to DEFAULT, the service applies the built-in tiering policy rule, which archives files larger than 1 MB that have not been accessed for more than 30 days. When set to CUSTOM, the service uses the policy rules specified in rules.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TieringConfigurationDetails.PolicyModecreate(String key)StringgetValue()static TieringConfigurationDetails.PolicyModevalueOf(String name)Returns the enum constant of this type with the specified name.static TieringConfigurationDetails.PolicyMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Default
public static final TieringConfigurationDetails.PolicyMode Default
-
Custom
public static final TieringConfigurationDetails.PolicyMode Custom
-
-
Method Detail
-
values
public static TieringConfigurationDetails.PolicyMode[] 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 (TieringConfigurationDetails.PolicyMode c : TieringConfigurationDetails.PolicyMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TieringConfigurationDetails.PolicyMode 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 TieringConfigurationDetails.PolicyMode create(String key)
-
-