@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()
Settings for use with a SPEKE key provider
|
StaticKeyProvider |
getStaticKeyProvider()
Use these settings to set up encryption with a static key provider.
|
String |
getType()
Indicates which type of key provider is used for encryption.
|
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)
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)
Settings for use with a SPEKE key provider
|
void |
setStaticKeyProvider(StaticKeyProvider staticKeyProvider)
Use these settings to set up encryption with a static key provider.
|
void |
setType(String type)
Indicates which type of key provider is used for encryption.
|
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)
Settings for use with a SPEKE key provider
|
HlsEncryptionSettings |
withStaticKeyProvider(StaticKeyProvider staticKeyProvider)
Use these settings to set up encryption with a static key provider.
|
HlsEncryptionSettings |
withType(HlsKeyProviderType type)
Indicates which type of key provider is used for encryption.
|
HlsEncryptionSettings |
withType(String type)
Indicates which type of key provider is used for encryption.
|
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.HlsEncryptionTypepublic String getEncryptionMethod()
HlsEncryptionTypepublic 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.HlsEncryptionTypepublic 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.HlsEncryptionTypepublic 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.HlsInitializationVectorInManifestpublic String getInitializationVectorInManifest()
HlsInitializationVectorInManifestpublic 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.HlsInitializationVectorInManifestpublic 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.HlsInitializationVectorInManifestpublic 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.HlsOfflineEncryptedpublic String getOfflineEncrypted()
HlsOfflineEncryptedpublic 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.HlsOfflineEncryptedpublic 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.HlsOfflineEncryptedpublic void setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
spekeKeyProvider - Settings for use with a SPEKE key providerpublic SpekeKeyProvider getSpekeKeyProvider()
public HlsEncryptionSettings withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
spekeKeyProvider - Settings for use with a SPEKE key providerpublic 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 - Indicates which type of key provider is used for encryption.HlsKeyProviderTypepublic String getType()
HlsKeyProviderTypepublic HlsEncryptionSettings withType(String type)
type - Indicates which type of key provider is used for encryption.HlsKeyProviderTypepublic HlsEncryptionSettings withType(HlsKeyProviderType type)
type - Indicates which type of key provider is used for encryption.HlsKeyProviderTypepublic String toString()
toString in class ObjectObject.toString()public HlsEncryptionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.