@Generated(value="software.amazon.awssdk:codegen") public final class CmafEncryptionSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>
Modifier and Type | Class and Description |
---|---|
static interface |
CmafEncryptionSettings.Builder |
Modifier and Type | Method and Description |
---|---|
static CmafEncryptionSettings.Builder |
builder() |
String |
constantInitializationVector()
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
CmafEncryptionType |
encryptionMethod()
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
|
String |
encryptionMethodAsString()
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CmafInitializationVectorInManifest |
initializationVectorInManifest()
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization
vector in the HLS and DASH manifests.
|
String |
initializationVectorInManifestAsString()
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization
vector in the HLS and DASH manifests.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CmafEncryptionSettings.Builder> |
serializableBuilderClass() |
SpekeKeyProviderCmaf |
spekeKeyProvider()
If your output group type is CMAF, 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.
|
CmafEncryptionSettings.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
CmafKeyProviderType |
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.
|
copy
public final String constantInitializationVector()
public final CmafEncryptionType encryptionMethod()
If the service returns an enum value that is not available in the current SDK version, encryptionMethod
will return CmafEncryptionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from encryptionMethodAsString()
.
CmafEncryptionType
public final String encryptionMethodAsString()
If the service returns an enum value that is not available in the current SDK version, encryptionMethod
will return CmafEncryptionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from encryptionMethodAsString()
.
CmafEncryptionType
public final CmafInitializationVectorInManifest initializationVectorInManifest()
If the service returns an enum value that is not available in the current SDK version,
initializationVectorInManifest
will return
CmafInitializationVectorInManifest.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from initializationVectorInManifestAsString()
.
CmafInitializationVectorInManifest
public final String initializationVectorInManifestAsString()
If the service returns an enum value that is not available in the current SDK version,
initializationVectorInManifest
will return
CmafInitializationVectorInManifest.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from initializationVectorInManifestAsString()
.
CmafInitializationVectorInManifest
public final SpekeKeyProviderCmaf spekeKeyProvider()
public final StaticKeyProvider staticKeyProvider()
public final CmafKeyProviderType type()
If the service returns an enum value that is not available in the current SDK version, type
will return
CmafKeyProviderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
CmafKeyProviderType
public final String typeAsString()
If the service returns an enum value that is not available in the current SDK version, type
will return
CmafKeyProviderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
CmafKeyProviderType
public CmafEncryptionSettings.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>
public static CmafEncryptionSettings.Builder builder()
public static Class<? extends CmafEncryptionSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.