Interface CmafEncryption.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CmafEncryption.Builder,CmafEncryption>,SdkBuilder<CmafEncryption.Builder,CmafEncryption>,SdkPojo
- Enclosing class:
- CmafEncryption
public static interface CmafEncryption.Builder extends SdkPojo, CopyableBuilder<CmafEncryption.Builder,CmafEncryption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CmafEncryption.BuilderconstantInitializationVector(String constantInitializationVector)An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks.CmafEncryption.BuilderencryptionMethod(String encryptionMethod)Sets the value of the EncryptionMethod property for this object.CmafEncryption.BuilderencryptionMethod(CmafEncryptionMethod encryptionMethod)Sets the value of the EncryptionMethod property for this object.CmafEncryption.BuilderkeyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)Time (in seconds) between each encryption key rotation.default CmafEncryption.BuilderspekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider)Sets the value of the SpekeKeyProvider property for this object.CmafEncryption.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
CmafEncryption.Builder constantInitializationVector(String constantInitializationVector)
An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).- Parameters:
constantInitializationVector- An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionMethod
CmafEncryption.Builder encryptionMethod(String encryptionMethod)
Sets the value of the EncryptionMethod property for this object.- Parameters:
encryptionMethod- The new value for the EncryptionMethod property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CmafEncryptionMethod,CmafEncryptionMethod
-
encryptionMethod
CmafEncryption.Builder encryptionMethod(CmafEncryptionMethod encryptionMethod)
Sets the value of the EncryptionMethod property for this object.- Parameters:
encryptionMethod- The new value for the EncryptionMethod property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CmafEncryptionMethod,CmafEncryptionMethod
-
keyRotationIntervalSeconds
CmafEncryption.Builder keyRotationIntervalSeconds(Integer keyRotationIntervalSeconds)
Time (in seconds) between each encryption key rotation.- Parameters:
keyRotationIntervalSeconds- Time (in seconds) between each encryption key rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spekeKeyProvider
CmafEncryption.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 CmafEncryption.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)
-
-