Interface SrtEncryptionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SrtEncryptionConfiguration.Builder,,SrtEncryptionConfiguration> SdkBuilder<SrtEncryptionConfiguration.Builder,,SrtEncryptionConfiguration> SdkPojo
- Enclosing class:
SrtEncryptionConfiguration
@Mutable
@NotThreadSafe
public static interface SrtEncryptionConfiguration.Builder
extends SdkPojo, CopyableBuilder<SrtEncryptionConfiguration.Builder,SrtEncryptionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionencryptionKey(Consumer<SecretsManagerEncryptionKeyConfiguration.Builder> encryptionKey) Specifies the encryption key configuration used for encrypting SRT streams, including the key source and associated credentials.encryptionKey(SecretsManagerEncryptionKeyConfiguration encryptionKey) Specifies the encryption key configuration used for encrypting SRT streams, including the key source and associated credentials.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
encryptionKey
SrtEncryptionConfiguration.Builder encryptionKey(SecretsManagerEncryptionKeyConfiguration encryptionKey) Specifies the encryption key configuration used for encrypting SRT streams, including the key source and associated credentials.
- Parameters:
encryptionKey- Specifies the encryption key configuration used for encrypting SRT streams, including the key source and associated credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
default SrtEncryptionConfiguration.Builder encryptionKey(Consumer<SecretsManagerEncryptionKeyConfiguration.Builder> encryptionKey) Specifies the encryption key configuration used for encrypting SRT streams, including the key source and associated credentials.
This is a convenience method that creates an instance of theSecretsManagerEncryptionKeyConfiguration.Builderavoiding the need to create one manually viaSecretsManagerEncryptionKeyConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionKey(SecretsManagerEncryptionKeyConfiguration).- Parameters:
encryptionKey- a consumer that will call methods onSecretsManagerEncryptionKeyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-