@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CmafEncryptionSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CmafEncryptionSettings() |
| Modifier and Type | Method and Description |
|---|---|
CmafEncryptionSettings |
clone() |
boolean |
equals(Object obj) |
String |
getConstantInitializationVector()
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
String |
getEncryptionMethod()
For DRM with CMAF, the encryption type is always sample AES.
|
String |
getInitializationVectorInManifest()
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization
vector in the HLS and DASH manifests.
|
SpekeKeyProviderCmaf |
getSpekeKeyProvider()
Use these settings when doing DRM encryption with a SPEKE-compliant key provider, if your output group type is
CMAF.
|
StaticKeyProvider |
getStaticKeyProvider()
Use these settings to set up encryption with a static key provider.
|
String |
getType()
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConstantInitializationVector(String constantInitializationVector)
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
void |
setEncryptionMethod(String encryptionMethod)
For DRM with CMAF, the encryption type is always sample AES.
|
void |
setInitializationVectorInManifest(String initializationVectorInManifest)
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization
vector in the HLS and DASH manifests.
|
void |
setSpekeKeyProvider(SpekeKeyProviderCmaf spekeKeyProvider)
Use these settings when doing DRM encryption with a SPEKE-compliant key provider, if your output group type is
CMAF.
|
void |
setStaticKeyProvider(StaticKeyProvider staticKeyProvider)
Use these settings to set up encryption with a static key provider.
|
void |
setType(String type)
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
|
String |
toString()
Returns a string representation of this object.
|
CmafEncryptionSettings |
withConstantInitializationVector(String constantInitializationVector)
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
CmafEncryptionSettings |
withEncryptionMethod(CmafEncryptionType encryptionMethod)
For DRM with CMAF, the encryption type is always sample AES.
|
CmafEncryptionSettings |
withEncryptionMethod(String encryptionMethod)
For DRM with CMAF, the encryption type is always sample AES.
|
CmafEncryptionSettings |
withInitializationVectorInManifest(CmafInitializationVectorInManifest initializationVectorInManifest)
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization
vector in the HLS and DASH manifests.
|
CmafEncryptionSettings |
withInitializationVectorInManifest(String initializationVectorInManifest)
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization
vector in the HLS and DASH manifests.
|
CmafEncryptionSettings |
withSpekeKeyProvider(SpekeKeyProviderCmaf spekeKeyProvider)
Use these settings when doing DRM encryption with a SPEKE-compliant key provider, if your output group type is
CMAF.
|
CmafEncryptionSettings |
withStaticKeyProvider(StaticKeyProvider staticKeyProvider)
Use these settings to set up encryption with a static key provider.
|
CmafEncryptionSettings |
withType(CmafKeyProviderType type)
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
|
CmafEncryptionSettings |
withType(String type)
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
|
public void setConstantInitializationVector(String constantInitializationVector)
constantInitializationVector - This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not
set then the Initialization Vector will follow the segment number by default.public String getConstantInitializationVector()
public CmafEncryptionSettings withConstantInitializationVector(String constantInitializationVector)
constantInitializationVector - This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not
set then the Initialization Vector will follow the segment number by default.public void setEncryptionMethod(String encryptionMethod)
encryptionMethod - For DRM with CMAF, the encryption type is always sample AES.CmafEncryptionTypepublic String getEncryptionMethod()
CmafEncryptionTypepublic CmafEncryptionSettings withEncryptionMethod(String encryptionMethod)
encryptionMethod - For DRM with CMAF, the encryption type is always sample AES.CmafEncryptionTypepublic CmafEncryptionSettings withEncryptionMethod(CmafEncryptionType encryptionMethod)
encryptionMethod - For DRM with CMAF, the encryption type is always sample AES.CmafEncryptionTypepublic void setInitializationVectorInManifest(String initializationVectorInManifest)
initializationVectorInManifest - When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption
initialization vector in the HLS and DASH manifests.CmafInitializationVectorInManifestpublic String getInitializationVectorInManifest()
CmafInitializationVectorInManifestpublic CmafEncryptionSettings withInitializationVectorInManifest(String initializationVectorInManifest)
initializationVectorInManifest - When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption
initialization vector in the HLS and DASH manifests.CmafInitializationVectorInManifestpublic CmafEncryptionSettings withInitializationVectorInManifest(CmafInitializationVectorInManifest initializationVectorInManifest)
initializationVectorInManifest - When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption
initialization vector in the HLS and DASH manifests.CmafInitializationVectorInManifestpublic void setSpekeKeyProvider(SpekeKeyProviderCmaf spekeKeyProvider)
spekeKeyProvider - Use these settings when doing DRM encryption with a SPEKE-compliant key provider, if your output group
type is CMAF. If your output group type is HLS, MS Smooth, or DASH, use the SpekeKeyProvider settings
instead.public SpekeKeyProviderCmaf getSpekeKeyProvider()
public CmafEncryptionSettings withSpekeKeyProvider(SpekeKeyProviderCmaf spekeKeyProvider)
spekeKeyProvider - Use these settings when doing DRM encryption with a SPEKE-compliant key provider, if your output group
type is CMAF. If your output group type is HLS, MS Smooth, or DASH, use the SpekeKeyProvider settings
instead.public void setStaticKeyProvider(StaticKeyProvider staticKeyProvider)
staticKeyProvider - Use these settings to set up encryption with a static key provider.public StaticKeyProvider getStaticKeyProvider()
public CmafEncryptionSettings withStaticKeyProvider(StaticKeyProvider staticKeyProvider)
staticKeyProvider - Use these settings to set up encryption with a static key provider.public void setType(String type)
type - Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
For more information about SPEKE, see
https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.CmafKeyProviderTypepublic String getType()
CmafKeyProviderTypepublic CmafEncryptionSettings withType(String type)
type - Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
For more information about SPEKE, see
https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.CmafKeyProviderTypepublic CmafEncryptionSettings withType(CmafKeyProviderType type)
type - Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
For more information about SPEKE, see
https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.CmafKeyProviderTypepublic String toString()
toString in class ObjectObject.toString()public CmafEncryptionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.