Interface SSESpecification.Builder

    • Method Detail

      • enabled

        SSESpecification.Builder enabled​(Boolean enabled)

        Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key. If enabled (true), server-side encryption type is set to KMS and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to Amazon Web Services owned key.

        Parameters:
        enabled - Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key. If enabled (true), server-side encryption type is set to KMS and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to Amazon Web Services owned key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sseType

        SSESpecification.Builder sseType​(String sseType)

        Server-side encryption type. The only supported value is:

        • KMS - Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).

        Parameters:
        sseType - Server-side encryption type. The only supported value is:

        • KMS - Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SSEType, SSEType
      • sseType

        SSESpecification.Builder sseType​(SSEType sseType)

        Server-side encryption type. The only supported value is:

        • KMS - Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).

        Parameters:
        sseType - Server-side encryption type. The only supported value is:

        • KMS - Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SSEType, SSEType
      • kmsMasterKeyId

        SSESpecification.Builder kmsMasterKeyId​(String kmsMasterKeyId)

        The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key alias/aws/dynamodb.

        Parameters:
        kmsMasterKeyId - The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key alias/aws/dynamodb.
        Returns:
        Returns a reference to this object so that method calls can be chained together.