Class CfnOriginEndpoint.EncryptionMethodProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint.EncryptionMethodProperty>
- Enclosing interface:
CfnOriginEndpoint.EncryptionMethodProperty
@Stability(Stable)
public static final class CfnOriginEndpoint.EncryptionMethodProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.EncryptionMethodProperty>
A builder for
CfnOriginEndpoint.EncryptionMethodProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cmafEncryptionMethod(String cmafEncryptionMethod) Sets the value ofCfnOriginEndpoint.EncryptionMethodProperty.getCmafEncryptionMethod()ismEncryptionMethod(String ismEncryptionMethod) Sets the value ofCfnOriginEndpoint.EncryptionMethodProperty.getIsmEncryptionMethod()tsEncryptionMethod(String tsEncryptionMethod) Sets the value ofCfnOriginEndpoint.EncryptionMethodProperty.getTsEncryptionMethod()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cmafEncryptionMethod
@Stability(Stable) public CfnOriginEndpoint.EncryptionMethodProperty.Builder cmafEncryptionMethod(String cmafEncryptionMethod) Sets the value ofCfnOriginEndpoint.EncryptionMethodProperty.getCmafEncryptionMethod()- Parameters:
cmafEncryptionMethod- The encryption method to use.- Returns:
this
-
ismEncryptionMethod
@Stability(Stable) public CfnOriginEndpoint.EncryptionMethodProperty.Builder ismEncryptionMethod(String ismEncryptionMethod) Sets the value ofCfnOriginEndpoint.EncryptionMethodProperty.getIsmEncryptionMethod()- Parameters:
ismEncryptionMethod- The encryption method used for Microsoft Smooth Streaming (MSS) content. This specifies how the MSS segments are encrypted to protect the content during delivery to client players.- Returns:
this
-
tsEncryptionMethod
@Stability(Stable) public CfnOriginEndpoint.EncryptionMethodProperty.Builder tsEncryptionMethod(String tsEncryptionMethod) Sets the value ofCfnOriginEndpoint.EncryptionMethodProperty.getTsEncryptionMethod()- Parameters:
tsEncryptionMethod- The encryption method to use.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.EncryptionMethodProperty>- Returns:
- a new instance of
CfnOriginEndpoint.EncryptionMethodProperty - Throws:
NullPointerException- if any required attribute was not provided
-