Interface CmafEncryptionSettings.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>,SdkBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>,SdkPojo
- Enclosing class:
- CmafEncryptionSettings
public static interface CmafEncryptionSettings.Builder extends SdkPojo, CopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CmafEncryptionSettings.BuilderconstantInitializationVector(String constantInitializationVector)This is a 128-bit, 16-byte hex value represented by a 32-character text string.CmafEncryptionSettings.BuilderencryptionMethod(String encryptionMethod)Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.CmafEncryptionSettings.BuilderencryptionMethod(CmafEncryptionType encryptionMethod)Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.CmafEncryptionSettings.BuilderinitializationVectorInManifest(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.CmafEncryptionSettings.BuilderinitializationVectorInManifest(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.default CmafEncryptionSettings.BuilderspekeKeyProvider(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.BuilderspekeKeyProvider(SpekeKeyProviderCmaf spekeKeyProvider)If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider.default CmafEncryptionSettings.BuilderstaticKeyProvider(Consumer<StaticKeyProvider.Builder> staticKeyProvider)Use these settings to set up encryption with a static key provider.CmafEncryptionSettings.BuilderstaticKeyProvider(StaticKeyProvider staticKeyProvider)Use these settings to set up encryption with a static key provider.CmafEncryptionSettings.Buildertype(String type)Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.CmafEncryptionSettings.Buildertype(CmafKeyProviderType type)Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
constantInitializationVector
CmafEncryptionSettings.Builder constantInitializationVector(String 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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionMethod
CmafEncryptionSettings.Builder encryptionMethod(String encryptionMethod)
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample or AES_CTR.- Parameters:
encryptionMethod- Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample or AES_CTR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CmafEncryptionType,CmafEncryptionType
-
encryptionMethod
CmafEncryptionSettings.Builder encryptionMethod(CmafEncryptionType encryptionMethod)
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample or AES_CTR.- Parameters:
encryptionMethod- Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample or AES_CTR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CmafEncryptionType,CmafEncryptionType
-
initializationVectorInManifest
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CmafInitializationVectorInManifest,CmafInitializationVectorInManifest
-
initializationVectorInManifest
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CmafInitializationVectorInManifest,CmafInitializationVectorInManifest
-
spekeKeyProvider
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. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spekeKeyProvider
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. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead. This is a convenience method that creates an instance of theSpekeKeyProviderCmaf.Builderavoiding the need to create one manually viaSpekeKeyProviderCmaf.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospekeKeyProvider(SpekeKeyProviderCmaf).- Parameters:
spekeKeyProvider- a consumer that will call methods onSpekeKeyProviderCmaf.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spekeKeyProvider(SpekeKeyProviderCmaf)
-
staticKeyProvider
CmafEncryptionSettings.Builder staticKeyProvider(StaticKeyProvider staticKeyProvider)
Use these settings to set up encryption with a static key provider.- Parameters:
staticKeyProvider- Use these settings to set up encryption with a static key provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticKeyProvider
default CmafEncryptionSettings.Builder staticKeyProvider(Consumer<StaticKeyProvider.Builder> staticKeyProvider)
Use these settings to set up encryption with a static key provider. This is a convenience method that creates an instance of theStaticKeyProvider.Builderavoiding the need to create one manually viaStaticKeyProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostaticKeyProvider(StaticKeyProvider).- Parameters:
staticKeyProvider- a consumer that will call methods onStaticKeyProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
staticKeyProvider(StaticKeyProvider)
-
type
CmafEncryptionSettings.Builder type(String 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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CmafKeyProviderType,CmafKeyProviderType
-
type
CmafEncryptionSettings.Builder type(CmafKeyProviderType 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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CmafKeyProviderType,CmafKeyProviderType
-
-