Enum TsEncryptionMethod
java.lang.Object
java.lang.Enum<TsEncryptionMethod>
software.amazon.awscdk.services.mediapackagev2.alpha.TsEncryptionMethod
- All Implemented Interfaces:
Serializable,Comparable<TsEncryptionMethod>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T09:32:03.749Z")
@Stability(Experimental)
public enum TsEncryptionMethod
extends Enum<TsEncryptionMethod>
(experimental) Encryption methods for TS container type.
Example:
Channel channel;
IRole spekeRole;
OriginEndpoint.Builder.create(this, "TsEndpoint")
.channel(channel)
.segment(Segment.ts(TsSegmentProps.builder()
.encryption(TsEncryption.speke(TsSpekeEncryptionProps.builder()
.method(TsEncryptionMethod.SAMPLE_AES)
.resourceId("my-content-id")
.url("https://example.com/speke")
.role(spekeRole)
.build()))
.build()))
.manifests(List.of(Manifest.hls(HlsManifestConfiguration.builder().manifestName("index").build())))
.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) AES-128 encryption - requires Clear Key AES 128 DRM system.(experimental) Sample-level AES encryption - requires FairPlay DRM system. -
Method Summary
Modifier and TypeMethodDescriptionstatic TsEncryptionMethodReturns the enum constant of this type with the specified name.static TsEncryptionMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AES_128
(experimental) AES-128 encryption - requires Clear Key AES 128 DRM system. -
SAMPLE_AES
(experimental) Sample-level AES encryption - requires FairPlay DRM system.
-
-
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
-