Class CmafEncryptionSettings
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.CmafEncryptionSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>
@Generated("software.amazon.awssdk:codegen") public final class CmafEncryptionSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>
Settings for CMAF encryption- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCmafEncryptionSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CmafEncryptionSettings.Builderbuilder()StringconstantInitializationVector()This is a 128-bit, 16-byte hex value represented by a 32-character text string.CmafEncryptionTypeencryptionMethod()Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.StringencryptionMethodAsString()Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()CmafInitializationVectorInManifestinitializationVectorInManifest()When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.StringinitializationVectorInManifestAsString()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()SpekeKeyProviderCmafspekeKeyProvider()If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider.StaticKeyProviderstaticKeyProvider()Use these settings to set up encryption with a static key provider.CmafEncryptionSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.CmafKeyProviderTypetype()Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.StringtypeAsString()Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
constantInitializationVector
public final String 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.- Returns:
- 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.
-
encryptionMethod
public final CmafEncryptionType encryptionMethod()
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample or AES_CTR.If the service returns an enum value that is not available in the current SDK version,
encryptionMethodwill returnCmafEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionMethodAsString().- Returns:
- Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample or AES_CTR.
- See Also:
CmafEncryptionType
-
encryptionMethodAsString
public final String encryptionMethodAsString()
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample or AES_CTR.If the service returns an enum value that is not available in the current SDK version,
encryptionMethodwill returnCmafEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionMethodAsString().- Returns:
- Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample or AES_CTR.
- See Also:
CmafEncryptionType
-
initializationVectorInManifest
public final 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.If the service returns an enum value that is not available in the current SDK version,
initializationVectorInManifestwill returnCmafInitializationVectorInManifest.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominitializationVectorInManifestAsString().- Returns:
- When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.
- See Also:
CmafInitializationVectorInManifest
-
initializationVectorInManifestAsString
public final 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.If the service returns an enum value that is not available in the current SDK version,
initializationVectorInManifestwill returnCmafInitializationVectorInManifest.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominitializationVectorInManifestAsString().- Returns:
- When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.
- See Also:
CmafInitializationVectorInManifest
-
spekeKeyProvider
public final SpekeKeyProviderCmaf spekeKeyProvider()
If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead.- Returns:
- If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead.
-
staticKeyProvider
public final StaticKeyProvider staticKeyProvider()
Use these settings to set up encryption with a static key provider.- Returns:
- Use these settings to set up encryption with a static key provider.
-
type
public final CmafKeyProviderType type()
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.If the service returns an enum value that is not available in the current SDK version,
typewill returnCmafKeyProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.
- See Also:
CmafKeyProviderType
-
typeAsString
public final String typeAsString()
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.If the service returns an enum value that is not available in the current SDK version,
typewill returnCmafKeyProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.
- See Also:
CmafKeyProviderType
-
toBuilder
public CmafEncryptionSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>
-
builder
public static CmafEncryptionSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends CmafEncryptionSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-