Interface HlsEncryption.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HlsEncryption.Builder,HlsEncryption>,SdkBuilder<HlsEncryption.Builder,HlsEncryption>,SdkPojo
- Enclosing class:
- HlsEncryption
public static interface HlsEncryption.Builder extends SdkPojo, CopyableBuilder<HlsEncryption.Builder,HlsEncryption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HlsEncryption.BuilderconstantInitializationVector(String constantInitializationVector)A constant initialization vector for encryption (optional).HlsEncryption.BuilderencryptionMethod(String encryptionMethod)The encryption method to use.HlsEncryption.BuilderencryptionMethod(EncryptionMethod encryptionMethod)The encryption method to use.HlsEncryption.BuilderkeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)Interval (in seconds) between each encryption key rotation.HlsEncryption.BuilderrepeatExtXKey(Boolean repeatExtXKey)When enabled, the EXT-X-KEY tag will be repeated in output manifests.default HlsEncryption.BuilderspekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider)Sets the value of the SpekeKeyProvider property for this object.HlsEncryption.BuilderspekeKeyProvider(SpekeKeyProvider spekeKeyProvider)Sets the value of the SpekeKeyProvider property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
constantInitializationVector
HlsEncryption.Builder constantInitializationVector(String constantInitializationVector)
A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.- Parameters:
constantInitializationVector- A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionMethod
HlsEncryption.Builder encryptionMethod(String encryptionMethod)
The encryption method to use.- Parameters:
encryptionMethod- The encryption method to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionMethod,EncryptionMethod
-
encryptionMethod
HlsEncryption.Builder encryptionMethod(EncryptionMethod encryptionMethod)
The encryption method to use.- Parameters:
encryptionMethod- The encryption method to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionMethod,EncryptionMethod
-
keyRotationIntervalSeconds
HlsEncryption.Builder keyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
Interval (in seconds) between each encryption key rotation.- Parameters:
keyRotationIntervalSeconds- Interval (in seconds) between each encryption key rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repeatExtXKey
HlsEncryption.Builder repeatExtXKey(Boolean repeatExtXKey)
When enabled, the EXT-X-KEY tag will be repeated in output manifests.- Parameters:
repeatExtXKey- When enabled, the EXT-X-KEY tag will be repeated in output manifests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spekeKeyProvider
HlsEncryption.Builder spekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
Sets the value of the SpekeKeyProvider property for this object.- Parameters:
spekeKeyProvider- The new value for the SpekeKeyProvider property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spekeKeyProvider
default HlsEncryption.Builder spekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider)
Sets the value of the SpekeKeyProvider property for this object. This is a convenience method that creates an instance of theSpekeKeyProvider.Builderavoiding the need to create one manually viaSpekeKeyProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospekeKeyProvider(SpekeKeyProvider).- Parameters:
spekeKeyProvider- a consumer that will call methods onSpekeKeyProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spekeKeyProvider(SpekeKeyProvider)
-
-