@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-02T20:25:31.053Z") public enum LifecyclePolicy extends java.lang.Enum<LifecyclePolicy>
Example:
FileSystem fileSystem = FileSystem.Builder.create(this, "MyEfsFileSystem") .vpc(new Vpc(this, "VPC")) .lifecyclePolicy(LifecyclePolicy.AFTER_14_DAYS) // files are not transitioned to infrequent access (IA) storage by default .performanceMode(PerformanceMode.GENERAL_PURPOSE) // default .outOfInfrequentAccessPolicy(OutOfInfrequentAccessPolicy.AFTER_1_ACCESS) .build();
Enum Constant and Description |
---|
AFTER_14_DAYS
After 14 days of not being accessed.
|
AFTER_30_DAYS
After 30 days of not being accessed.
|
AFTER_60_DAYS
After 60 days of not being accessed.
|
AFTER_7_DAYS
After 7 days of not being accessed.
|
AFTER_90_DAYS
After 90 days of not being accessed.
|
Modifier and Type | Method and Description |
---|---|
static LifecyclePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifecyclePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecyclePolicy AFTER_7_DAYS
public static final LifecyclePolicy AFTER_14_DAYS
public static final LifecyclePolicy AFTER_30_DAYS
public static final LifecyclePolicy AFTER_60_DAYS
public static final LifecyclePolicy AFTER_90_DAYS
public static LifecyclePolicy[] values()
for (LifecyclePolicy c : LifecyclePolicy.values()) System.out.println(c);
public static LifecyclePolicy 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 null