Interface EncryptionConfiguration.Builder

    • Method Detail

      • keyType

        EncryptionConfiguration.Builder keyType​(String keyType)

        The type of KMS key used for encryption.

        Parameters:
        keyType - The type of KMS key used for encryption.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KmsKeyType, KmsKeyType
      • kmsKeyArn

        EncryptionConfiguration.Builder kmsKeyArn​(String kmsKeyArn)

        The ARN of the KMS key used to encrypt data. Required when KeyType is CUSTOMER_MANAGED_KEY. Cannot be specified when KeyType is AWS_OWNED_KMS_KEY.

        Parameters:
        kmsKeyArn - The ARN of the KMS key used to encrypt data. Required when KeyType is CUSTOMER_MANAGED_KEY. Cannot be specified when KeyType is AWS_OWNED_KMS_KEY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.