public static final class CfnPackagingConfiguration.HlsEncryptionProperty.Builder
extends java.lang.Object
CfnPackagingConfiguration.HlsEncryptionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPackagingConfiguration.HlsEncryptionProperty |
build()
Builds the configured instance.
|
CfnPackagingConfiguration.HlsEncryptionProperty.Builder |
constantInitializationVector(java.lang.String constantInitializationVector)
|
CfnPackagingConfiguration.HlsEncryptionProperty.Builder |
encryptionMethod(java.lang.String encryptionMethod)
Sets the value of
CfnPackagingConfiguration.HlsEncryptionProperty.getEncryptionMethod() |
CfnPackagingConfiguration.HlsEncryptionProperty.Builder |
spekeKeyProvider(CfnPackagingConfiguration.SpekeKeyProviderProperty spekeKeyProvider)
Sets the value of
CfnPackagingConfiguration.HlsEncryptionProperty.getSpekeKeyProvider() |
CfnPackagingConfiguration.HlsEncryptionProperty.Builder |
spekeKeyProvider(IResolvable spekeKeyProvider)
Sets the value of
CfnPackagingConfiguration.HlsEncryptionProperty.getSpekeKeyProvider() |
public CfnPackagingConfiguration.HlsEncryptionProperty.Builder spekeKeyProvider(IResolvable spekeKeyProvider)
CfnPackagingConfiguration.HlsEncryptionProperty.getSpekeKeyProvider()
spekeKeyProvider
- Parameters for the SPEKE key provider. This parameter is required.this
public CfnPackagingConfiguration.HlsEncryptionProperty.Builder spekeKeyProvider(CfnPackagingConfiguration.SpekeKeyProviderProperty spekeKeyProvider)
CfnPackagingConfiguration.HlsEncryptionProperty.getSpekeKeyProvider()
spekeKeyProvider
- Parameters for the SPEKE key provider. This parameter is required.this
public CfnPackagingConfiguration.HlsEncryptionProperty.Builder constantInitializationVector(java.lang.String constantInitializationVector)
constantInitializationVector
- A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.
If you don't specify a constant initialization vector (IV), MediaPackage periodically rotates the IV.this
public CfnPackagingConfiguration.HlsEncryptionProperty.Builder encryptionMethod(java.lang.String encryptionMethod)
CfnPackagingConfiguration.HlsEncryptionProperty.getEncryptionMethod()
encryptionMethod
- HLS encryption type.this
public CfnPackagingConfiguration.HlsEncryptionProperty build()
CfnPackagingConfiguration.HlsEncryptionProperty
java.lang.NullPointerException
- if any required attribute was not provided