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 Constants Enum Constant Description PRESET_AUDIO_1
PRESET_AUDIO_2
PRESET_AUDIO_3
SHARED
UNENCRYPTED
UNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PresetSpeke20Audio
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<PresetSpeke20Audio>
knownValues()
String
toString()
static PresetSpeke20Audio
valueOf(String name)
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 Detail
-
PRESET_AUDIO_1
public static final PresetSpeke20Audio PRESET_AUDIO_1
-
PRESET_AUDIO_2
public static final PresetSpeke20Audio PRESET_AUDIO_2
-
PRESET_AUDIO_3
public static final PresetSpeke20Audio PRESET_AUDIO_3
-
SHARED
public static final PresetSpeke20Audio SHARED
-
UNENCRYPTED
public static final PresetSpeke20Audio UNENCRYPTED
-
UNKNOWN_TO_SDK_VERSION
public static final PresetSpeke20Audio UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static PresetSpeke20Audio[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PresetSpeke20Audio c : PresetSpeke20Audio.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresetSpeke20Audio valueOf(String name)
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
public String toString()
- Overrides:
toString
in classEnum<PresetSpeke20Audio>
-
fromValue
public static PresetSpeke20Audio fromValue(String value)
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
public static Set<PresetSpeke20Audio> 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
-
-