public static interface HlsEncryption.Builder extends CopyableBuilder<HlsEncryption.Builder,HlsEncryption>
| Modifier and Type | Method and Description |
|---|---|
HlsEncryption.Builder |
constantInitializationVector(String constantInitializationVector)
A constant initialization vector for encryption (optional).
|
HlsEncryption.Builder |
encryptionMethod(EncryptionMethod encryptionMethod)
The encryption method to use.
|
HlsEncryption.Builder |
encryptionMethod(String encryptionMethod)
The encryption method to use.
|
HlsEncryption.Builder |
keyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
Interval (in seconds) between each encryption key rotation.
|
HlsEncryption.Builder |
repeatExtXKey(Boolean repeatExtXKey)
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
|
default HlsEncryption.Builder |
spekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider)
Sets the value of the SpekeKeyProvider property for this object.
|
HlsEncryption.Builder |
spekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
Sets the value of the SpekeKeyProvider property for this object.
|
copyapply, buildHlsEncryption.Builder constantInitializationVector(String constantInitializationVector)
constantInitializationVector - A constant initialization vector for encryption (optional). When not specified the initialization
vector will be periodically rotated.HlsEncryption.Builder encryptionMethod(String encryptionMethod)
encryptionMethod - The encryption method to use.EncryptionMethod,
EncryptionMethodHlsEncryption.Builder encryptionMethod(EncryptionMethod encryptionMethod)
encryptionMethod - The encryption method to use.EncryptionMethod,
EncryptionMethodHlsEncryption.Builder keyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
keyRotationIntervalSeconds - Interval (in seconds) between each encryption key rotation.HlsEncryption.Builder repeatExtXKey(Boolean repeatExtXKey)
repeatExtXKey - When enabled, the EXT-X-KEY tag will be repeated in output manifests.HlsEncryption.Builder spekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
spekeKeyProvider - The new value for the SpekeKeyProvider property for this object.default HlsEncryption.Builder spekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider)
SpekeKeyProvider.Builder avoiding the need to
create one manually via SpekeKeyProvider.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to spekeKeyProvider(SpekeKeyProvider).spekeKeyProvider - a consumer that will call methods on SpekeKeyProvider.BuilderspekeKeyProvider(SpekeKeyProvider)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.