Class CmafEncryptionSettings
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThis is a 128-bit, 16-byte hex value represented by a 32-character text string.final CmafEncryptionTypeSpecify the encryption scheme that you want the service to use when encrypting your CMAF segments.final StringSpecify the encryption scheme that you want the service to use when encrypting your CMAF segments.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.final StringWhen you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.static Class<? extends CmafEncryptionSettings.Builder> final SpekeKeyProviderCmafIf your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider.final StaticKeyProviderUse these settings to set up encryption with a static key provider.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final CmafKeyProviderTypetype()Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.final StringSpecify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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:
-
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:
-
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:
-
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:
-
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
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
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:
-
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:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CmafEncryptionSettings.Builder,CmafEncryptionSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-