Class HlsEncryption
- java.lang.Object
-
- software.amazon.awssdk.services.mediapackage.model.HlsEncryption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HlsEncryption.Builder,HlsEncryption>
@Generated("software.amazon.awssdk:codegen") public final class HlsEncryption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HlsEncryption.Builder,HlsEncryption>
An HTTP Live Streaming (HLS) encryption configuration.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHlsEncryption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HlsEncryption.Builderbuilder()StringconstantInitializationVector()A constant initialization vector for encryption (optional).EncryptionMethodencryptionMethod()The encryption method to use.StringencryptionMethodAsString()The encryption method to use.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerkeyRotationIntervalSeconds()Interval (in seconds) between each encryption key rotation.BooleanrepeatExtXKey()When enabled, the EXT-X-KEY tag will be repeated in output manifests.List<SdkField<?>>sdkFields()static Class<? extends HlsEncryption.Builder>serializableBuilderClass()SpekeKeyProviderspekeKeyProvider()Returns the value of the SpekeKeyProvider property for this object.HlsEncryption.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
-
constantInitializationVector
public final String constantInitializationVector()
A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.- Returns:
- A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.
-
encryptionMethod
public final EncryptionMethod encryptionMethod()
The encryption method to use.If the service returns an enum value that is not available in the current SDK version,
encryptionMethodwill returnEncryptionMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionMethodAsString().- Returns:
- The encryption method to use.
- See Also:
EncryptionMethod
-
encryptionMethodAsString
public final String encryptionMethodAsString()
The encryption method to use.If the service returns an enum value that is not available in the current SDK version,
encryptionMethodwill returnEncryptionMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionMethodAsString().- Returns:
- The encryption method to use.
- See Also:
EncryptionMethod
-
keyRotationIntervalSeconds
public final Integer keyRotationIntervalSeconds()
Interval (in seconds) between each encryption key rotation.- Returns:
- Interval (in seconds) between each encryption key rotation.
-
repeatExtXKey
public final Boolean repeatExtXKey()
When enabled, the EXT-X-KEY tag will be repeated in output manifests.- Returns:
- When enabled, the EXT-X-KEY tag will be repeated in output manifests.
-
spekeKeyProvider
public final SpekeKeyProvider spekeKeyProvider()
Returns the value of the SpekeKeyProvider property for this object.- Returns:
- The value of the SpekeKeyProvider property for this object.
-
toBuilder
public HlsEncryption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HlsEncryption.Builder,HlsEncryption>
-
builder
public static HlsEncryption.Builder builder()
-
serializableBuilderClass
public static Class<? extends HlsEncryption.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.
-
-