Interface MsSmoothEncryptionSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MsSmoothEncryptionSettings.Builder,,MsSmoothEncryptionSettings> SdkBuilder<MsSmoothEncryptionSettings.Builder,,MsSmoothEncryptionSettings> SdkPojo
- Enclosing class:
MsSmoothEncryptionSettings
public static interface MsSmoothEncryptionSettings.Builder
extends SdkPojo, CopyableBuilder<MsSmoothEncryptionSettings.Builder,MsSmoothEncryptionSettings>
-
Method Summary
Modifier and TypeMethodDescriptionspekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider) If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider.spekeKeyProvider(SpekeKeyProvider spekeKeyProvider) If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
spekeKeyProvider
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.- Parameters:
spekeKeyProvider- If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spekeKeyProvider
default MsSmoothEncryptionSettings.Builder spekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider) If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead. This is a convenience method that creates an instance of theSpekeKeyProvider.Builderavoiding the need to create one manually viaSpekeKeyProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospekeKeyProvider(SpekeKeyProvider).- Parameters:
spekeKeyProvider- a consumer that will call methods onSpekeKeyProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-