Class CfnOriginEndpointPropsMixin.EncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackagev2.CfnOriginEndpointPropsMixin.EncryptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.EncryptionProperty>
- Enclosing interface:
CfnOriginEndpointPropsMixin.EncryptionProperty
@Stability(Stable)
public static final class CfnOriginEndpointPropsMixin.EncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.EncryptionProperty>
A builder for
CfnOriginEndpointPropsMixin.EncryptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cmafExcludeSegmentDrmMetadata(Boolean cmafExcludeSegmentDrmMetadata) cmafExcludeSegmentDrmMetadata(IResolvable cmafExcludeSegmentDrmMetadata) constantInitializationVector(String constantInitializationVector) encryptionMethod(CfnOriginEndpointPropsMixin.EncryptionMethodProperty encryptionMethod) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionProperty.getEncryptionMethod()encryptionMethod(IResolvable encryptionMethod) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionProperty.getEncryptionMethod()keyRotationIntervalSeconds(Number keyRotationIntervalSeconds) spekeKeyProvider(CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty spekeKeyProvider) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionProperty.getSpekeKeyProvider()spekeKeyProvider(IResolvable spekeKeyProvider) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionProperty.getSpekeKeyProvider()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cmafExcludeSegmentDrmMetadata
@Stability(Stable) public CfnOriginEndpointPropsMixin.EncryptionProperty.Builder cmafExcludeSegmentDrmMetadata(Boolean cmafExcludeSegmentDrmMetadata) - Parameters:
cmafExcludeSegmentDrmMetadata- Excludes SEIG and SGPD boxes from segment metadata in CMAF containers. When set totrue, MediaPackage omits these DRM metadata boxes from CMAF segments, which can improve compatibility with certain devices and players that don't support these boxes.Important considerations:
- This setting only affects CMAF container formats
- Key rotation can still be handled through media playlist signaling
- PSSH and TENC boxes remain unaffected
- Default behavior is preserved when this setting is disabled
Valid values:
true|falseDefault:
false- Returns:
this
-
cmafExcludeSegmentDrmMetadata
@Stability(Stable) public CfnOriginEndpointPropsMixin.EncryptionProperty.Builder cmafExcludeSegmentDrmMetadata(IResolvable cmafExcludeSegmentDrmMetadata) - Parameters:
cmafExcludeSegmentDrmMetadata- Excludes SEIG and SGPD boxes from segment metadata in CMAF containers. When set totrue, MediaPackage omits these DRM metadata boxes from CMAF segments, which can improve compatibility with certain devices and players that don't support these boxes.Important considerations:
- This setting only affects CMAF container formats
- Key rotation can still be handled through media playlist signaling
- PSSH and TENC boxes remain unaffected
- Default behavior is preserved when this setting is disabled
Valid values:
true|falseDefault:
false- Returns:
this
-
constantInitializationVector
@Stability(Stable) public CfnOriginEndpointPropsMixin.EncryptionProperty.Builder constantInitializationVector(String constantInitializationVector) - Parameters:
constantInitializationVector- A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).- Returns:
this
-
encryptionMethod
@Stability(Stable) public CfnOriginEndpointPropsMixin.EncryptionProperty.Builder encryptionMethod(IResolvable encryptionMethod) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionProperty.getEncryptionMethod()- Parameters:
encryptionMethod- The encryption method to use.- Returns:
this
-
encryptionMethod
@Stability(Stable) public CfnOriginEndpointPropsMixin.EncryptionProperty.Builder encryptionMethod(CfnOriginEndpointPropsMixin.EncryptionMethodProperty encryptionMethod) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionProperty.getEncryptionMethod()- Parameters:
encryptionMethod- The encryption method to use.- Returns:
this
-
keyRotationIntervalSeconds
@Stability(Stable) public CfnOriginEndpointPropsMixin.EncryptionProperty.Builder keyRotationIntervalSeconds(Number keyRotationIntervalSeconds) - Parameters:
keyRotationIntervalSeconds- The interval, in seconds, to rotate encryption keys for the origin endpoint.- Returns:
this
-
spekeKeyProvider
@Stability(Stable) public CfnOriginEndpointPropsMixin.EncryptionProperty.Builder spekeKeyProvider(IResolvable spekeKeyProvider) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionProperty.getSpekeKeyProvider()- Parameters:
spekeKeyProvider- The SPEKE key provider to use for encryption.- Returns:
this
-
spekeKeyProvider
@Stability(Stable) public CfnOriginEndpointPropsMixin.EncryptionProperty.Builder spekeKeyProvider(CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty spekeKeyProvider) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionProperty.getSpekeKeyProvider()- Parameters:
spekeKeyProvider- The SPEKE key provider to use for encryption.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.EncryptionProperty>- Returns:
- a new instance of
CfnOriginEndpointPropsMixin.EncryptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-