Class CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty>
- Enclosing interface:
CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty
@Stability(Stable)
public static final class CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty>
-
Constructor Summary
Constructors -
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 CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty.Builder presetSpeke20Audio(String presetSpeke20Audio) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty.getPresetSpeke20Audio()- Parameters:
presetSpeke20Audio- A collection of audio encryption presets. 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 CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty.Builder presetSpeke20Video(String presetSpeke20Video) Sets the value ofCfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty.getPresetSpeke20Video()- Parameters:
presetSpeke20Video- A collection of video encryption presets. Value description:PRESET-VIDEO-1- Use one content key to encrypt all of the video tracks in your stream.PRESET-VIDEO-2- Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.PRESET-VIDEO-3- Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.PRESET-VIDEO-4- Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.PRESET-VIDEO-5- Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.PRESET-VIDEO-6- Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.PRESET-VIDEO-7- Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.PRESET-VIDEO-8- Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.SHARED- Use the same content key for all of the video and audio tracks in your stream.UNENCRYPTED- Don't encrypt any of the video tracks in your stream.
- Returns:
this
-
build
@Stability(Stable) public CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty>- Returns:
- a new instance of
CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-