Class EncryptionContractConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.mediapackage.model.EncryptionContractConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EncryptionContractConfiguration.Builder,EncryptionContractConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class EncryptionContractConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionContractConfiguration.Builder,EncryptionContractConfiguration>
Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncryptionContractConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionContractConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PresetSpeke20AudiopresetSpeke20Audio()A collection of audio encryption presets.StringpresetSpeke20AudioAsString()A collection of audio encryption presets.PresetSpeke20VideopresetSpeke20Video()A collection of video encryption presets.StringpresetSpeke20VideoAsString()A collection of video encryption presets.List<SdkField<?>>sdkFields()static Class<? extends EncryptionContractConfiguration.Builder>serializableBuilderClass()EncryptionContractConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
presetSpeke20Audio
public final PresetSpeke20Audio presetSpeke20Audio()
A collection of audio encryption presets.If the service returns an enum value that is not available in the current SDK version,
presetSpeke20Audiowill returnPresetSpeke20Audio.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompresetSpeke20AudioAsString().- Returns:
- A collection of audio encryption presets.
- See Also:
PresetSpeke20Audio
-
presetSpeke20AudioAsString
public final String presetSpeke20AudioAsString()
A collection of audio encryption presets.If the service returns an enum value that is not available in the current SDK version,
presetSpeke20Audiowill returnPresetSpeke20Audio.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompresetSpeke20AudioAsString().- Returns:
- A collection of audio encryption presets.
- See Also:
PresetSpeke20Audio
-
presetSpeke20Video
public final PresetSpeke20Video presetSpeke20Video()
A collection of video encryption presets.If the service returns an enum value that is not available in the current SDK version,
presetSpeke20Videowill returnPresetSpeke20Video.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompresetSpeke20VideoAsString().- Returns:
- A collection of video encryption presets.
- See Also:
PresetSpeke20Video
-
presetSpeke20VideoAsString
public final String presetSpeke20VideoAsString()
A collection of video encryption presets.If the service returns an enum value that is not available in the current SDK version,
presetSpeke20Videowill returnPresetSpeke20Video.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompresetSpeke20VideoAsString().- Returns:
- A collection of video encryption presets.
- See Also:
PresetSpeke20Video
-
toBuilder
public EncryptionContractConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncryptionContractConfiguration.Builder,EncryptionContractConfiguration>
-
builder
public static EncryptionContractConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncryptionContractConfiguration.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.
-
-