Class CfnOriginEndpointPropsMixin.DashEncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnOriginEndpointPropsMixin.DashEncryptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.DashEncryptionProperty>
- Enclosing interface:
CfnOriginEndpointPropsMixin.DashEncryptionProperty
@Stability(Stable)
public static final class CfnOriginEndpointPropsMixin.DashEncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.DashEncryptionProperty>
A builder for
CfnOriginEndpointPropsMixin.DashEncryptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.keyRotationIntervalSeconds(Number keyRotationIntervalSeconds) spekeKeyProvider(CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty spekeKeyProvider) Sets the value ofCfnOriginEndpointPropsMixin.DashEncryptionProperty.getSpekeKeyProvider()spekeKeyProvider(IResolvable spekeKeyProvider) Sets the value ofCfnOriginEndpointPropsMixin.DashEncryptionProperty.getSpekeKeyProvider()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyRotationIntervalSeconds
@Stability(Stable) public CfnOriginEndpointPropsMixin.DashEncryptionProperty.Builder keyRotationIntervalSeconds(Number keyRotationIntervalSeconds) Sets the value ofCfnOriginEndpointPropsMixin.DashEncryptionProperty.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
-
spekeKeyProvider
@Stability(Stable) public CfnOriginEndpointPropsMixin.DashEncryptionProperty.Builder spekeKeyProvider(IResolvable spekeKeyProvider) Sets the value ofCfnOriginEndpointPropsMixin.DashEncryptionProperty.getSpekeKeyProvider()- Parameters:
spekeKeyProvider- Parameters for the SPEKE key provider.- Returns:
this
-
spekeKeyProvider
@Stability(Stable) public CfnOriginEndpointPropsMixin.DashEncryptionProperty.Builder spekeKeyProvider(CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty spekeKeyProvider) Sets the value ofCfnOriginEndpointPropsMixin.DashEncryptionProperty.getSpekeKeyProvider()- Parameters:
spekeKeyProvider- Parameters for the SPEKE key provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.DashEncryptionProperty>- Returns:
- a new instance of
CfnOriginEndpointPropsMixin.DashEncryptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-