@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()
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
|
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()
If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key
provider.
|
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)
Marshalls this structured data using the given
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)
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
|
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)
If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key
provider.
|
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)
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
|
CmafEncryptionSettings |
withEncryptionMethod(String encryptionMethod)
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
|
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)
If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key
provider.
|
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
- Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose
AES-CBC subsample or AES_CTR.CmafEncryptionType
public String getEncryptionMethod()
CmafEncryptionType
public CmafEncryptionSettings withEncryptionMethod(String encryptionMethod)
encryptionMethod
- Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose
AES-CBC subsample or AES_CTR.CmafEncryptionType
public CmafEncryptionSettings withEncryptionMethod(CmafEncryptionType encryptionMethod)
encryptionMethod
- Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose
AES-CBC subsample or AES_CTR.CmafEncryptionType
public 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.CmafInitializationVectorInManifest
public String getInitializationVectorInManifest()
CmafInitializationVectorInManifest
public 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.CmafInitializationVectorInManifest
public 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.CmafInitializationVectorInManifest
public void setSpekeKeyProvider(SpekeKeyProviderCmaf spekeKeyProvider)
spekeKeyProvider
- If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key
provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings
instead.public SpekeKeyProviderCmaf getSpekeKeyProvider()
public CmafEncryptionSettings withSpekeKeyProvider(SpekeKeyProviderCmaf spekeKeyProvider)
spekeKeyProvider
- If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key
provider. If your output group type is HLS, DASH, or Microsoft Smooth, 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.CmafKeyProviderType
public String getType()
CmafKeyProviderType
public 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.CmafKeyProviderType
public 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.CmafKeyProviderType
public String toString()
toString
in class Object
Object.toString()
public CmafEncryptionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.