@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.456Z") @Stability(value=Stable) public enum LustreAutoImportPolicy extends Enum<LustreAutoImportPolicy>
Example:
// Example automatically generated from non-compiling source. May contain errors.
Vpc vpc;
s3.Bucket bucket;
Map<String, Object> lustreConfiguration = Map.of(
"deploymentType", LustreDeploymentType.SCRATCH_2,
"exportPath", bucket.s3UrlForObject(),
"importPath", bucket.s3UrlForObject(),
"autoImportPolicy", LustreAutoImportPolicy.NEW_CHANGED_DELETED);
LustreFileSystem fs = LustreFileSystem.Builder.create(this, "FsxLustreFileSystem")
.vpc(vpc)
.vpcSubnet(vpc.getPrivateSubnets()[0])
.storageCapacityGiB(1200)
.lustreConfiguration(lustreConfiguration)
.build();
| Enum Constant and Description |
|---|
NEW
AutoImport is on.
|
NEW_CHANGED
AutoImport is on.
|
NEW_CHANGED_DELETED
AutoImport is on.
|
NONE
AutoImport is off.
|
| Modifier and Type | Method and Description |
|---|---|
static LustreAutoImportPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LustreAutoImportPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final LustreAutoImportPolicy NONE
Amazon FSx only updates file and directory listings from the linked S3 bucket when the file system is created. FSx does not update file and directory listings for any new or changed objects after choosing this option.
@Stability(value=Stable) public static final LustreAutoImportPolicy NEW
Amazon FSx automatically imports directory listings of any new objects added to the linked S3 bucket that do not currently exist in the FSx file system.
@Stability(value=Stable) public static final LustreAutoImportPolicy NEW_CHANGED
Amazon FSx automatically imports file and directory listings of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose this option.
@Stability(value=Stable) public static final LustreAutoImportPolicy NEW_CHANGED_DELETED
Amazon FSx automatically imports file and directory listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any objects that were deleted in the S3 bucket.
public static LustreAutoImportPolicy[] values()
for (LustreAutoImportPolicy c : LustreAutoImportPolicy.values()) System.out.println(c);
public static LustreAutoImportPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.