Enum Storage
- All Implemented Interfaces:
Serializable
,Comparable<Storage>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-03-04T22:57:35.469Z")
@Stability(Experimental)
public enum Storage
extends Enum<Storage>
(experimental) The format in which thumbnails are recorded for a stream.
Example:
Bucket recordingBucket; RecordingConfiguration recordingConfiguration = RecordingConfiguration.Builder.create(this, "RecordingConfiguration") .bucket(recordingBucket) // set thumbnail settings .thumbnailConfiguration(ThumbnailConfiguration.interval(Resolution.HD, List.of(Storage.LATEST, Storage.SEQUENTIAL), Duration.seconds(30))) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription(experimental) LATEST saves the latest thumbnail in media/thumbnails/latest/thumb.jpg and overwrites it at the interval specified by thumbnailTargetInterval.(experimental) SEQUENTIAL records all generated thumbnails in a serial manner, to the media/thumbnails directory. -
Method Summary
-
Enum Constant Details
-
SEQUENTIAL
(experimental) SEQUENTIAL records all generated thumbnails in a serial manner, to the media/thumbnails directory. -
LATEST
(experimental) LATEST saves the latest thumbnail in media/thumbnails/latest/thumb.jpg and overwrites it at the interval specified by thumbnailTargetInterval.
-
-
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
-