Class CfnPackagingConfiguration.HlsEncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.HlsEncryptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackagingConfiguration.HlsEncryptionProperty>
- Enclosing interface:
- CfnPackagingConfiguration.HlsEncryptionProperty
@Stability(Stable)
public static final class CfnPackagingConfiguration.HlsEncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackagingConfiguration.HlsEncryptionProperty>
A builder for
CfnPackagingConfiguration.HlsEncryptionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.constantInitializationVector
(String constantInitializationVector) encryptionMethod
(String encryptionMethod) Sets the value ofCfnPackagingConfiguration.HlsEncryptionProperty.getEncryptionMethod()
spekeKeyProvider
(IResolvable spekeKeyProvider) Sets the value ofCfnPackagingConfiguration.HlsEncryptionProperty.getSpekeKeyProvider()
spekeKeyProvider
(CfnPackagingConfiguration.SpekeKeyProviderProperty spekeKeyProvider) Sets the value ofCfnPackagingConfiguration.HlsEncryptionProperty.getSpekeKeyProvider()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
spekeKeyProvider
@Stability(Stable) public CfnPackagingConfiguration.HlsEncryptionProperty.Builder spekeKeyProvider(IResolvable spekeKeyProvider) Sets the value ofCfnPackagingConfiguration.HlsEncryptionProperty.getSpekeKeyProvider()
- Parameters:
spekeKeyProvider
- Parameters for the SPEKE key provider. This parameter is required.- Returns:
this
-
spekeKeyProvider
@Stability(Stable) public CfnPackagingConfiguration.HlsEncryptionProperty.Builder spekeKeyProvider(CfnPackagingConfiguration.SpekeKeyProviderProperty spekeKeyProvider) Sets the value ofCfnPackagingConfiguration.HlsEncryptionProperty.getSpekeKeyProvider()
- Parameters:
spekeKeyProvider
- Parameters for the SPEKE key provider. This parameter is required.- Returns:
this
-
constantInitializationVector
@Stability(Stable) public CfnPackagingConfiguration.HlsEncryptionProperty.Builder constantInitializationVector(String constantInitializationVector) - Parameters:
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), AWS Elemental MediaPackage periodically rotates the IV.- Returns:
this
-
encryptionMethod
@Stability(Stable) public CfnPackagingConfiguration.HlsEncryptionProperty.Builder encryptionMethod(String encryptionMethod) Sets the value ofCfnPackagingConfiguration.HlsEncryptionProperty.getEncryptionMethod()
- Parameters:
encryptionMethod
- HLS encryption type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPackagingConfiguration.HlsEncryptionProperty>
- Returns:
- a new instance of
CfnPackagingConfiguration.HlsEncryptionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-