@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)
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)
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.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
- 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.HlsKeyProviderType
public String getType()
HlsKeyProviderType
public HlsEncryptionSettings withType(String type)
type
- Indicates which type of key provider is used for encryption.HlsKeyProviderType
public HlsEncryptionSettings withType(HlsKeyProviderType type)
type
- Indicates which type of key provider is used for encryption.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.