Enum LustreAutoImportPolicy
- All Implemented Interfaces:
Serializable
,Comparable<LustreAutoImportPolicy>
,java.lang.constant.Constable
Example:
import software.amazon.awscdk.services.s3.*; Vpc vpc; 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();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAutoImport is on.AutoImport is on.AutoImport is on.AutoImport is off. -
Method Summary
Modifier and TypeMethodDescriptionstatic LustreAutoImportPolicy
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.
-
Enum Constant Details
-
NONE
AutoImport is off.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.
-
NEW
AutoImport is on.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.
-
NEW_CHANGED
AutoImport is on.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.
-
NEW_CHANGED_DELETED
AutoImport is on.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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-