Enum FileAssetPackaging
- All Implemented Interfaces:
Serializable
,Comparable<FileAssetPackaging>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:40.853Z")
@Stability(Stable)
public enum FileAssetPackaging
extends Enum<FileAssetPackaging>
Packaging strategy for file assets.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUpload the given path as a file.The given path is a directory, zip it and upload. -
Method Summary
Modifier and TypeMethodDescriptionstatic FileAssetPackaging
Returns the enum constant of this type with the specified name.static FileAssetPackaging[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FILE
Upload the given path as a file. -
ZIP_DIRECTORY
The given path is a directory, zip it and upload.
-
-
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
-