@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HlsEncryption extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
HlsEncryption() |
| Modifier and Type | Method and Description |
|---|---|
HlsEncryption |
clone() |
boolean |
equals(Object obj) |
String |
getConstantInitializationVector()
A constant initialization vector for encryption (optional).
|
String |
getEncryptionMethod()
The encryption method to use.
|
Integer |
getKeyRotationIntervalSeconds()
Interval (in seconds) between each encryption key rotation.
|
Boolean |
getRepeatExtXKey()
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
|
SpekeKeyProvider |
getSpekeKeyProvider() |
int |
hashCode() |
Boolean |
isRepeatExtXKey()
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConstantInitializationVector(String constantInitializationVector)
A constant initialization vector for encryption (optional).
|
void |
setEncryptionMethod(String encryptionMethod)
The encryption method to use.
|
void |
setKeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
Interval (in seconds) between each encryption key rotation.
|
void |
setRepeatExtXKey(Boolean repeatExtXKey)
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
|
void |
setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) |
String |
toString()
Returns a string representation of this object.
|
HlsEncryption |
withConstantInitializationVector(String constantInitializationVector)
A constant initialization vector for encryption (optional).
|
HlsEncryption |
withEncryptionMethod(EncryptionMethod encryptionMethod)
The encryption method to use.
|
HlsEncryption |
withEncryptionMethod(String encryptionMethod)
The encryption method to use.
|
HlsEncryption |
withKeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
Interval (in seconds) between each encryption key rotation.
|
HlsEncryption |
withRepeatExtXKey(Boolean repeatExtXKey)
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
|
HlsEncryption |
withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) |
public void setConstantInitializationVector(String constantInitializationVector)
constantInitializationVector - A constant initialization vector for encryption (optional). When not specified the initialization vector
will be periodically rotated.public String getConstantInitializationVector()
public HlsEncryption withConstantInitializationVector(String constantInitializationVector)
constantInitializationVector - A constant initialization vector for encryption (optional). When not specified the initialization vector
will be periodically rotated.public void setEncryptionMethod(String encryptionMethod)
encryptionMethod - The encryption method to use.EncryptionMethodpublic String getEncryptionMethod()
EncryptionMethodpublic HlsEncryption withEncryptionMethod(String encryptionMethod)
encryptionMethod - The encryption method to use.EncryptionMethodpublic HlsEncryption withEncryptionMethod(EncryptionMethod encryptionMethod)
encryptionMethod - The encryption method to use.EncryptionMethodpublic void setKeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
keyRotationIntervalSeconds - Interval (in seconds) between each encryption key rotation.public Integer getKeyRotationIntervalSeconds()
public HlsEncryption withKeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
keyRotationIntervalSeconds - Interval (in seconds) between each encryption key rotation.public void setRepeatExtXKey(Boolean repeatExtXKey)
repeatExtXKey - When enabled, the EXT-X-KEY tag will be repeated in output manifests.public Boolean getRepeatExtXKey()
public HlsEncryption withRepeatExtXKey(Boolean repeatExtXKey)
repeatExtXKey - When enabled, the EXT-X-KEY tag will be repeated in output manifests.public Boolean isRepeatExtXKey()
public void setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
spekeKeyProvider - public SpekeKeyProvider getSpekeKeyProvider()
public HlsEncryption withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
spekeKeyProvider - public String toString()
toString in class ObjectObject.toString()public HlsEncryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.