Enum TieringConfiguration.PolicyMode
- java.lang.Object
-
- java.lang.Enum<TieringConfiguration.PolicyMode>
-
- com.oracle.bmc.lustrefilestorage.model.TieringConfiguration.PolicyMode
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<TieringConfiguration.PolicyMode>
- Enclosing class:
- TieringConfiguration
public static enum TieringConfiguration.PolicyMode extends Enum<TieringConfiguration.PolicyMode> implements BmcEnum
Whether the service default policy rule or custom policy rules are used.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 configured in rules.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CustomDefaultUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TieringConfiguration.PolicyModecreate(String key)StringgetValue()static TieringConfiguration.PolicyModevalueOf(String name)Returns the enum constant of this type with the specified name.static TieringConfiguration.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 TieringConfiguration.PolicyMode Default
-
Custom
public static final TieringConfiguration.PolicyMode Custom
-
UnknownEnumValue
public static final TieringConfiguration.PolicyMode UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static TieringConfiguration.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 (TieringConfiguration.PolicyMode c : TieringConfiguration.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 TieringConfiguration.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 TieringConfiguration.PolicyMode create(String key)
-
-