Interface CustomerManagedEncryption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomerManagedEncryption.Builder,,CustomerManagedEncryption> SdkBuilder<CustomerManagedEncryption.Builder,,CustomerManagedEncryption> SdkPojo
- Enclosing class:
CustomerManagedEncryption
@Mutable
@NotThreadSafe
public static interface CustomerManagedEncryption.Builder
extends SdkPojo, CopyableBuilder<CustomerManagedEncryption.Builder,CustomerManagedEncryption>
-
Method Summary
Modifier and TypeMethodDescriptionencryptionContext(Map<String, String> encryptionContext) The key-value pairs that Amazon Polly includes as the encryption context when it encrypts or decrypts the voice with the key.The Amazon Resource Name (ARN) of the key.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
-
kmsKeyArn
The Amazon Resource Name (ARN) of the key. The key must be a symmetric encryption key in the same Amazon Web Services Region as the voice. To create the voice, you need
kms:DescribeKey,kms:GenerateDataKey, andkms:Decryptpermissions on the key. To synthesize speech with the voice, you needkms:Decryptpermission on the key.- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the key. The key must be a symmetric encryption key in the same Amazon Web Services Region as the voice. To create the voice, you needkms:DescribeKey,kms:GenerateDataKey, andkms:Decryptpermissions on the key. To synthesize speech with the voice, you needkms:Decryptpermission on the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionContext
The key-value pairs that Amazon Polly includes as the encryption context when it encrypts or decrypts the voice with the key. You can use these pairs in key policy conditions. Don't use keys that start with
aws:, which are reserved.- Parameters:
encryptionContext- The key-value pairs that Amazon Polly includes as the encryption context when it encrypts or decrypts the voice with the key. You can use these pairs in key policy conditions. Don't use keys that start withaws:, which are reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-