public static interface CmafEncryptionSettings.Builder extends SdkPojo, CopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>
| Modifier and Type | Method and Description |
|---|---|
CmafEncryptionSettings.Builder |
constantInitializationVector(String constantInitializationVector)
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
CmafEncryptionSettings.Builder |
encryptionMethod(CmafEncryptionType encryptionMethod)
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
|
CmafEncryptionSettings.Builder |
encryptionMethod(String encryptionMethod)
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
|
CmafEncryptionSettings.Builder |
initializationVectorInManifest(CmafInitializationVectorInManifest initializationVectorInManifest)
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization
vector in the HLS and DASH manifests.
|
CmafEncryptionSettings.Builder |
initializationVectorInManifest(String initializationVectorInManifest)
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization
vector in the HLS and DASH manifests.
|
default CmafEncryptionSettings.Builder |
spekeKeyProvider(Consumer<SpekeKeyProviderCmaf.Builder> spekeKeyProvider)
If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key
provider.
|
CmafEncryptionSettings.Builder |
spekeKeyProvider(SpekeKeyProviderCmaf spekeKeyProvider)
If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key
provider.
|
default CmafEncryptionSettings.Builder |
staticKeyProvider(Consumer<StaticKeyProvider.Builder> staticKeyProvider)
Use these settings to set up encryption with a static key provider.
|
CmafEncryptionSettings.Builder |
staticKeyProvider(StaticKeyProvider staticKeyProvider)
Use these settings to set up encryption with a static key provider.
|
CmafEncryptionSettings.Builder |
type(CmafKeyProviderType type)
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
|
CmafEncryptionSettings.Builder |
type(String type)
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCmafEncryptionSettings.Builder constantInitializationVector(String constantInitializationVector)
constantInitializationVector - This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is
not set then the Initialization Vector will follow the segment number by default.CmafEncryptionSettings.Builder encryptionMethod(String encryptionMethod)
encryptionMethod - Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
Choose AES-CBC subsample or AES_CTR.CmafEncryptionType,
CmafEncryptionTypeCmafEncryptionSettings.Builder encryptionMethod(CmafEncryptionType encryptionMethod)
encryptionMethod - Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
Choose AES-CBC subsample or AES_CTR.CmafEncryptionType,
CmafEncryptionTypeCmafEncryptionSettings.Builder initializationVectorInManifest(String initializationVectorInManifest)
initializationVectorInManifest - When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption
initialization vector in the HLS and DASH manifests.CmafInitializationVectorInManifest,
CmafInitializationVectorInManifestCmafEncryptionSettings.Builder initializationVectorInManifest(CmafInitializationVectorInManifest initializationVectorInManifest)
initializationVectorInManifest - When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption
initialization vector in the HLS and DASH manifests.CmafInitializationVectorInManifest,
CmafInitializationVectorInManifestCmafEncryptionSettings.Builder spekeKeyProvider(SpekeKeyProviderCmaf spekeKeyProvider)
spekeKeyProvider - If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant
key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider
settings instead.default CmafEncryptionSettings.Builder spekeKeyProvider(Consumer<SpekeKeyProviderCmaf.Builder> spekeKeyProvider)
SpekeKeyProviderCmaf.Builder
avoiding the need to create one manually via SpekeKeyProviderCmaf.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to spekeKeyProvider(SpekeKeyProviderCmaf).
spekeKeyProvider - a consumer that will call methods on SpekeKeyProviderCmaf.BuilderspekeKeyProvider(SpekeKeyProviderCmaf)CmafEncryptionSettings.Builder staticKeyProvider(StaticKeyProvider staticKeyProvider)
staticKeyProvider - Use these settings to set up encryption with a static key provider.default CmafEncryptionSettings.Builder staticKeyProvider(Consumer<StaticKeyProvider.Builder> staticKeyProvider)
StaticKeyProvider.Builder avoiding the need to create one manually via
StaticKeyProvider.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to staticKeyProvider(StaticKeyProvider).
staticKeyProvider - a consumer that will call methods on StaticKeyProvider.BuilderstaticKeyProvider(StaticKeyProvider)CmafEncryptionSettings.Builder type(String type)
type - Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE
standard. For more information about SPEKE, see
https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.CmafKeyProviderType,
CmafKeyProviderTypeCmafEncryptionSettings.Builder type(CmafKeyProviderType type)
type - Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE
standard. For more information about SPEKE, see
https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.CmafKeyProviderType,
CmafKeyProviderTypeCopyright © 2023. All rights reserved.