Class CfnOriginEndpoint.HlsEncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.HlsEncryptionProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnOriginEndpoint.HlsEncryptionProperty>
- Enclosing interface:
 - CfnOriginEndpoint.HlsEncryptionProperty
 
@Stability(Stable)
public static final class CfnOriginEndpoint.HlsEncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.HlsEncryptionProperty>
A builder for 
CfnOriginEndpoint.HlsEncryptionProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.constantInitializationVector(String constantInitializationVector) encryptionMethod(String encryptionMethod) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getEncryptionMethod()keyRotationIntervalSeconds(Number keyRotationIntervalSeconds) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getKeyRotationIntervalSeconds()repeatExtXKey(Boolean repeatExtXKey) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getRepeatExtXKey()repeatExtXKey(IResolvable repeatExtXKey) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getRepeatExtXKey()spekeKeyProvider(IResolvable spekeKeyProvider) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getSpekeKeyProvider()spekeKeyProvider(CfnOriginEndpoint.SpekeKeyProviderProperty spekeKeyProvider) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getSpekeKeyProvider() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
spekeKeyProvider
@Stability(Stable) public CfnOriginEndpoint.HlsEncryptionProperty.Builder spekeKeyProvider(IResolvable spekeKeyProvider) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getSpekeKeyProvider()- Parameters:
 spekeKeyProvider- Parameters for the SPEKE key provider. This parameter is required.- Returns:
 this
 - 
spekeKeyProvider
@Stability(Stable) public CfnOriginEndpoint.HlsEncryptionProperty.Builder spekeKeyProvider(CfnOriginEndpoint.SpekeKeyProviderProperty spekeKeyProvider) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getSpekeKeyProvider()- Parameters:
 spekeKeyProvider- Parameters for the SPEKE key provider. This parameter is required.- Returns:
 this
 - 
constantInitializationVector
@Stability(Stable) public CfnOriginEndpoint.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.- Returns:
 this
 - 
encryptionMethod
@Stability(Stable) public CfnOriginEndpoint.HlsEncryptionProperty.Builder encryptionMethod(String encryptionMethod) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getEncryptionMethod()- Parameters:
 encryptionMethod- HLS encryption type.- Returns:
 this
 - 
keyRotationIntervalSeconds
@Stability(Stable) public CfnOriginEndpoint.HlsEncryptionProperty.Builder keyRotationIntervalSeconds(Number keyRotationIntervalSeconds) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getKeyRotationIntervalSeconds()- Parameters:
 keyRotationIntervalSeconds- Number of seconds before AWS Elemental MediaPackage rotates to a new key. By default, rotation is set to 60 seconds. Set to0to disable key rotation.- Returns:
 this
 - 
repeatExtXKey
@Stability(Stable) public CfnOriginEndpoint.HlsEncryptionProperty.Builder repeatExtXKey(Boolean repeatExtXKey) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getRepeatExtXKey()- Parameters:
 repeatExtXKey- Repeat theEXT-X-KEYdirective for every media segment. This might result in an increase in client requests to the DRM server.- Returns:
 this
 - 
repeatExtXKey
@Stability(Stable) public CfnOriginEndpoint.HlsEncryptionProperty.Builder repeatExtXKey(IResolvable repeatExtXKey) Sets the value ofCfnOriginEndpoint.HlsEncryptionProperty.getRepeatExtXKey()- Parameters:
 repeatExtXKey- Repeat theEXT-X-KEYdirective for every media segment. This might result in an increase in client requests to the DRM server.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.HlsEncryptionProperty>- Returns:
 - a new instance of 
CfnOriginEndpoint.HlsEncryptionProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -