Enum PresetSpeke20Audio
java.lang.Object
java.lang.Enum<PresetSpeke20Audio>
software.amazon.awssdk.services.mediaconvert.model.PresetSpeke20Audio
- All Implemented Interfaces:
Serializable
,Comparable<PresetSpeke20Audio>
@Generated("software.amazon.awssdk:codegen")
public enum PresetSpeke20Audio
extends Enum<PresetSpeke20Audio>
Specify which SPEKE version 2.0 audio preset MediaConvert uses to request content keys from your SPEKE server. For
more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To
encrypt to your audio outputs, choose from the following: Audio preset 1, Audio preset 2, or Audio preset 3. To
encrypt your audio outputs, using the same content key for both your audio and video outputs: Choose Shared. When you
do, you must also set SPEKE v2.0 video preset to Shared. To not encrypt your audio outputs: Choose Unencrypted. When
you do, to encrypt your video outputs, you must also specify a SPEKE v2.0 video preset (other than Shared or
Unencrypted).
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic PresetSpeke20Audio
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set
<PresetSpeke20Audio> toString()
static PresetSpeke20Audio
Returns the enum constant of this type with the specified name.static PresetSpeke20Audio[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRESET_AUDIO_1
-
PRESET_AUDIO_2
-
PRESET_AUDIO_3
-
SHARED
-
UNENCRYPTED
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<PresetSpeke20Audio>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value
- real value- Returns:
- PresetSpeke20Audio corresponding to the value
-
knownValues
Use this in place ofvalues()
to return aSet
of all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION
.- Returns:
- a
Set
of knownPresetSpeke20Audio
s
-