Class CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.mediapackage.mixins.CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty>
- Enclosing interface:
CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty
@Stability(Stable)
public static final class CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionContractConfiguration(IResolvable encryptionContractConfiguration) encryptionContractConfiguration(CfnPackagingConfigurationPropsMixin.EncryptionContractConfigurationProperty encryptionContractConfiguration) Sets the value ofCfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionContractConfiguration
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Builder encryptionContractConfiguration(IResolvable encryptionContractConfiguration) Sets the value ofCfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.getEncryptionContractConfiguration()- Parameters:
encryptionContractConfiguration- UseencryptionContractConfigurationto configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.- Returns:
this
-
encryptionContractConfiguration
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Builder encryptionContractConfiguration(CfnPackagingConfigurationPropsMixin.EncryptionContractConfigurationProperty encryptionContractConfiguration) Sets the value ofCfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.getEncryptionContractConfiguration()- Parameters:
encryptionContractConfiguration- UseencryptionContractConfigurationto configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.- Returns:
this
-
roleArn
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Builder roleArn(String roleArn) - Parameters:
roleArn- The ARN for the IAM role that's granted by the key provider to provide access to the key provider API. Valid format: arn:aws:iam::{accountID}:role/{name}- Returns:
this
-
systemIds
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Builder systemIds(List<String> systemIds) - Parameters:
systemIds- List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.- Returns:
this
-
url
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Builder url(String url) Sets the value ofCfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.getUrl()- Parameters:
url- URL for the key provider's key retrieval API endpoint. Must start with https://.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty>- Returns:
- a new instance of
CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty - Throws:
NullPointerException- if any required attribute was not provided
-