@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HlsEncryptionSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
HlsEncryptionSettings() |
Modifier and Type | Method and Description |
---|---|
HlsEncryptionSettings |
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()
Encrypts the segments with the given encryption scheme.
|
String |
getInitializationVectorInManifest()
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
String |
getOfflineEncrypted()
Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist.
|
SpekeKeyProvider |
getSpekeKeyProvider()
If your output group type is HLS, DASH, or Microsoft Smooth, 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)
Encrypts the segments with the given encryption scheme.
|
void |
setInitializationVectorInManifest(String initializationVectorInManifest)
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
void |
setOfflineEncrypted(String offlineEncrypted)
Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist.
|
void |
setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
If your output group type is HLS, DASH, or Microsoft Smooth, 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.
|
HlsEncryptionSettings |
withConstantInitializationVector(String constantInitializationVector)
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
HlsEncryptionSettings |
withEncryptionMethod(HlsEncryptionType encryptionMethod)
Encrypts the segments with the given encryption scheme.
|
HlsEncryptionSettings |
withEncryptionMethod(String encryptionMethod)
Encrypts the segments with the given encryption scheme.
|
HlsEncryptionSettings |
withInitializationVectorInManifest(HlsInitializationVectorInManifest initializationVectorInManifest)
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
HlsEncryptionSettings |
withInitializationVectorInManifest(String initializationVectorInManifest)
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
HlsEncryptionSettings |
withOfflineEncrypted(HlsOfflineEncrypted offlineEncrypted)
Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist.
|
HlsEncryptionSettings |
withOfflineEncrypted(String offlineEncrypted)
Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist.
|
HlsEncryptionSettings |
withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a
SPEKE-compliant key provider.
|
HlsEncryptionSettings |
withStaticKeyProvider(StaticKeyProvider staticKeyProvider)
Use these settings to set up encryption with a static key provider.
|
HlsEncryptionSettings |
withType(HlsKeyProviderType type)
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
|
HlsEncryptionSettings |
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 HlsEncryptionSettings 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
- Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in
the web interface also disables encryption.HlsEncryptionType
public String getEncryptionMethod()
HlsEncryptionType
public HlsEncryptionSettings withEncryptionMethod(String encryptionMethod)
encryptionMethod
- Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in
the web interface also disables encryption.HlsEncryptionType
public HlsEncryptionSettings withEncryptionMethod(HlsEncryptionType encryptionMethod)
encryptionMethod
- Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in
the web interface also disables encryption.HlsEncryptionType
public void setInitializationVectorInManifest(String initializationVectorInManifest)
initializationVectorInManifest
- The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If
set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in
the manifest.HlsInitializationVectorInManifest
public String getInitializationVectorInManifest()
HlsInitializationVectorInManifest
public HlsEncryptionSettings withInitializationVectorInManifest(String initializationVectorInManifest)
initializationVectorInManifest
- The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If
set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in
the manifest.HlsInitializationVectorInManifest
public HlsEncryptionSettings withInitializationVectorInManifest(HlsInitializationVectorInManifest initializationVectorInManifest)
initializationVectorInManifest
- The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If
set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in
the manifest.HlsInitializationVectorInManifest
public void setOfflineEncrypted(String offlineEncrypted)
offlineEncrypted
- Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for
offline Apple HLS FairPlay content protection.HlsOfflineEncrypted
public String getOfflineEncrypted()
HlsOfflineEncrypted
public HlsEncryptionSettings withOfflineEncrypted(String offlineEncrypted)
offlineEncrypted
- Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for
offline Apple HLS FairPlay content protection.HlsOfflineEncrypted
public HlsEncryptionSettings withOfflineEncrypted(HlsOfflineEncrypted offlineEncrypted)
offlineEncrypted
- Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for
offline Apple HLS FairPlay content protection.HlsOfflineEncrypted
public void setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
spekeKeyProvider
- If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption
with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf
settings instead.public SpekeKeyProvider getSpekeKeyProvider()
public HlsEncryptionSettings withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
spekeKeyProvider
- If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption
with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf
settings instead.public void setStaticKeyProvider(StaticKeyProvider staticKeyProvider)
staticKeyProvider
- Use these settings to set up encryption with a static key provider.public StaticKeyProvider getStaticKeyProvider()
public HlsEncryptionSettings 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.HlsKeyProviderType
public String getType()
HlsKeyProviderType
public HlsEncryptionSettings 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.HlsKeyProviderType
public HlsEncryptionSettings withType(HlsKeyProviderType 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.HlsKeyProviderType
public String toString()
toString
in class Object
Object.toString()
public HlsEncryptionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.