Class CfnOriginEndpoint.EncryptionContractConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint.EncryptionContractConfigurationProperty>
- Enclosing interface:
CfnOriginEndpoint.EncryptionContractConfigurationProperty
@Stability(Stable)
public static final class CfnOriginEndpoint.EncryptionContractConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.EncryptionContractConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.presetSpeke20Audio
(String presetSpeke20Audio) presetSpeke20Video
(String presetSpeke20Video)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
presetSpeke20Audio
@Stability(Stable) public CfnOriginEndpoint.EncryptionContractConfigurationProperty.Builder presetSpeke20Audio(String presetSpeke20Audio) - Parameters:
presetSpeke20Audio
- A collection of audio encryption presets. This parameter is required. Value description:PRESET-AUDIO-1
- Use one content key to encrypt all of the audio tracks in your stream.PRESET-AUDIO-2
- Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.PRESET-AUDIO-3
- Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.SHARED
- Use the same content key for all of the audio and video tracks in your stream.UNENCRYPTED
- Don't encrypt any of the audio tracks in your stream.
- Returns:
this
-
presetSpeke20Video
@Stability(Stable) public CfnOriginEndpoint.EncryptionContractConfigurationProperty.Builder presetSpeke20Video(String presetSpeke20Video) - Parameters:
presetSpeke20Video
- The SPEKE Version 2.0 preset video associated with the encryption contract configuration of the origin endpoint. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.EncryptionContractConfigurationProperty>
- Returns:
- a new instance of
CfnOriginEndpoint.EncryptionContractConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-