@Generated(value="software.amazon.awssdk:codegen") public final class HlsEncryptionSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HlsEncryptionSettings.Builder,HlsEncryptionSettings>
Modifier and Type | Class and Description |
---|---|
static interface |
HlsEncryptionSettings.Builder |
Modifier and Type | Method and Description |
---|---|
static HlsEncryptionSettings.Builder |
builder() |
String |
constantInitializationVector()
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
HlsEncryptionType |
encryptionMethod()
Encrypts the segments with the given encryption scheme.
|
String |
encryptionMethodAsString()
Encrypts the segments with the given encryption scheme.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HlsInitializationVectorInManifest |
initializationVectorInManifest()
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
String |
initializationVectorInManifestAsString()
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
HlsOfflineEncrypted |
offlineEncrypted()
Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist.
|
String |
offlineEncryptedAsString()
Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HlsEncryptionSettings.Builder> |
serializableBuilderClass() |
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.
|
StaticKeyProvider |
staticKeyProvider()
Use these settings to set up encryption with a static key provider.
|
HlsEncryptionSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
HlsKeyProviderType |
type()
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
|
String |
typeAsString()
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String constantInitializationVector()
public final HlsEncryptionType encryptionMethod()
If the service returns an enum value that is not available in the current SDK version, encryptionMethod
will return HlsEncryptionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from encryptionMethodAsString()
.
HlsEncryptionType
public final String encryptionMethodAsString()
If the service returns an enum value that is not available in the current SDK version, encryptionMethod
will return HlsEncryptionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from encryptionMethodAsString()
.
HlsEncryptionType
public final HlsInitializationVectorInManifest initializationVectorInManifest()
If the service returns an enum value that is not available in the current SDK version,
initializationVectorInManifest
will return
HlsInitializationVectorInManifest.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from initializationVectorInManifestAsString()
.
HlsInitializationVectorInManifest
public final String initializationVectorInManifestAsString()
If the service returns an enum value that is not available in the current SDK version,
initializationVectorInManifest
will return
HlsInitializationVectorInManifest.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from initializationVectorInManifestAsString()
.
HlsInitializationVectorInManifest
public final HlsOfflineEncrypted offlineEncrypted()
If the service returns an enum value that is not available in the current SDK version, offlineEncrypted
will return HlsOfflineEncrypted.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from offlineEncryptedAsString()
.
HlsOfflineEncrypted
public final String offlineEncryptedAsString()
If the service returns an enum value that is not available in the current SDK version, offlineEncrypted
will return HlsOfflineEncrypted.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from offlineEncryptedAsString()
.
HlsOfflineEncrypted
public final SpekeKeyProvider spekeKeyProvider()
public final StaticKeyProvider staticKeyProvider()
public final HlsKeyProviderType type()
If the service returns an enum value that is not available in the current SDK version, type
will return
HlsKeyProviderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
HlsKeyProviderType
public final String typeAsString()
If the service returns an enum value that is not available in the current SDK version, type
will return
HlsKeyProviderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
HlsKeyProviderType
public HlsEncryptionSettings.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<HlsEncryptionSettings.Builder,HlsEncryptionSettings>
public static HlsEncryptionSettings.Builder builder()
public static Class<? extends HlsEncryptionSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.