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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cmafEncryptionMethod
(String cmafEncryptionMethod) Sets the value ofCfnOriginEndpoint.EncryptionMethodProperty.getCmafEncryptionMethod()
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
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.EncryptionMethodProperty>
- Returns:
- a new instance of
CfnOriginEndpoint.EncryptionMethodProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-