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